We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c82810a commit e80acacCopy full SHA for e80acac
2 files changed
CMakeLists.txt
@@ -142,7 +142,7 @@ if (LD_BUILD_UNIT_TESTS)
142
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
143
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address")
144
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
145
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address -fsanitize=leak")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address -fsanitize=leak -fsanitize=bounds-strict")
146
endif ()
147
148
if (LD_BUILD_COVERAGE)
0 commit comments