[asan] enable LeakSanitizer (LSan) by default in asan. This only affects Linux x86_64...
commit1079cb91e8e1ea4202a5aa990859fc49fc2338e1
authorKostya Serebryany <kcc@google.com>
Tue, 22 Apr 2014 13:56:56 +0000 (22 13:56 +0000)
committerKostya Serebryany <kcc@google.com>
Tue, 22 Apr 2014 13:56:56 +0000 (22 13:56 +0000)
tree46a8e7c5b57014f76053c59859748bbc39b49791
parent780de5cdd88e8f22dbba3b4ff70c5380e3e045f4
[asan] enable LeakSanitizer (LSan) by default in asan. This only affects Linux x86_64. LSan has been used in various projects for more than half a year and we now consider it quite stable to be on by default.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@206896 91177308-0d34-0410-b5e6-96231b3b80d8
lib/asan/asan_rtl.cc
lib/sanitizer_common/sanitizer_flags.cc
test/asan/TestCases/Linux/leak.cc [new file with mode: 0644]
test/asan/TestCases/allocator_returns_null.cc
test/ubsan/TestCases/TypeCheck/vptr.cpp