We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f979ed commit 2296850Copy full SHA for 2296850
cmake/san.cmake
@@ -7,7 +7,7 @@ if (USE_ASAN OR USE_MSAN)
7
set(CMAKE_LINKER "${CMAKE_C_COMPILER}")
8
9
if (USE_ASAN)
10
- set(CLANG_SAN_FLAGS "-fno-omit-frame-pointer -fsanitize=address -fsized-deallocation")
+ set(CLANG_SAN_FLAGS "-fno-omit-frame-pointer -fsanitize=address")
11
12
elseif (USE_MSAN)
13
set(CLANG_SAN_FLAGS "-fno-omit-frame-pointer -fsanitize=memory -fsanitize-memory-track-origins=2")
@@ -20,4 +20,4 @@ if (USE_ASAN OR USE_MSAN)
20
set(LLVM_CXX_FLAGS "-stdlib=libc++ -I${MSAN_PREFIX}/include -I${MSAN_PREFIX}/include/c++/v1")
21
set(LLVM_LD_FLAGS "-stdlib=libc++ -Wl,-rpath=${MSAN_PREFIX}/lib -L${MSAN_PREFIX}/lib -lc++abi")
22
endif()
23
-endif()
+endif()
0 commit comments