Skip to content

Commit

Permalink
Try formatting information with debug informations for address saniti…
Browse files Browse the repository at this point in the history
…zer under windows
  • Loading branch information
florianbecker committed Apr 20, 2023
1 parent 852fd12 commit 46404d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/sanitizers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ if(HAVE_SANITIZER_ADDRESS)
if(UNIX)
set(SANITIZER_ADDRESS_FLAGS "-fsanitize=address -fno-omit-frame-pointer -fsanitize-address-use-after-scope -fno-optimize-sibling-calls")
else()
set(SANITIZER_ADDRESS_FLAGS /fsanitize=address)
set(SANITIZER_ADDRESS_FLAGS "/fsanitize=address /Zi")
endif()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${SANITIZER_ADDRESS_FLAGS}")
set(EXTRA_CXX_FLAGS "${EXTRA_CXX_FLAGS} ${SANITIZER_ADDRESS_FLAGS}")
Expand Down

0 comments on commit 46404d7

Please sign in to comment.