Skip to content

Commit 1a0d232

Browse files
committed
restore the leak sanitizer
1 parent 49bd1a6 commit 1a0d232

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

infra/cmake/llvm-toolchain.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ set(CMAKE_CXX_COMPILER clang++)
2020

2121
if(BEMAN_BUILDSYS_SANITIZER STREQUAL "MaxSan")
2222
set(SANITIZER_FLAGS
23-
"-fsanitize=address -fsanitize=pointer-compare -fsanitize=pointer-subtract -fsanitize=undefined -fsanitize-undefined-trap-on-error"
23+
"-fsanitize=address -fsanitize=leak -fsanitize=pointer-compare -fsanitize=pointer-subtract -fsanitize=undefined -fsanitize-undefined-trap-on-error"
2424
)
2525
elseif(BEMAN_BUILDSYS_SANITIZER STREQUAL "TSan")
2626
set(SANITIZER_FLAGS "-fsanitize=thread")

0 commit comments

Comments
 (0)