Skip to content

Commit

Permalink
Update sanitizers.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
derobins authored Mar 27, 2024
1 parent a1e7dd2 commit 82aea16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/sanitizer/sanitizers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ if(USE_SANITIZER)
set(SANITIZER_MEM_FLAG "-fsanitize=memory")
if(USE_SANITIZER MATCHES "([Mm]emory[Ww]ith[Oo]rigins)")
message(STATUS "Testing with MemoryWithOrigins sanitizer")
append("-fsanitize-memory-track-origins=2" SANITIZER_MEM_FLAG)
append("-fsanitize-memory-track-origins" SANITIZER_MEM_FLAG)
else()
message(STATUS "Testing with Memory sanitizer")
endif()
Expand Down

0 comments on commit 82aea16

Please sign in to comment.