[PATCH] D29382: [lsan] Respect default value of detect_leaks flag
Maxim Ostapenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 1 01:54:44 PST 2017
m.ostapenko created this revision.
m.ostapenko added a project: Sanitizers.
Herald added a subscriber: kubamracek.
When testing I noticed that ASan and LSan don't respect default value of detect_leaks flag, rewriting it by **CAN_SANITIZE_LEAKS** and **true** values in //__asan_init// and //__lsan_init// calls respectively. Let's change this since we would like to have LSan on by default on 64 bit arches and off on 32 bit ones.
Repository:
rL LLVM
https://reviews.llvm.org/D29382
Files:
lib/asan/asan_flags.cc
lib/lsan/lsan.cc
test/asan/TestCases/Linux/leak.cc
test/asan/TestCases/Linux/leak_check_segv.cc
test/asan/TestCases/coverage-and-lsan.cc
test/lsan/TestCases/cleanup_in_tsd_destructor.c
test/lsan/TestCases/disabler.c
test/lsan/TestCases/ignore_object.c
test/lsan/TestCases/strace_test.cc
test/lsan/TestCases/swapcontext.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29382.86594.patch
Type: text/x-patch
Size: 5233 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170201/0edd0316/attachment.bin>
More information about the llvm-commits
mailing list