Sergey Matveev
|
17ee1abfa7
|
[lsan] Add __lsan_disable() and __lsan_enable().
Objects allocated after a call to __lsan_disable() will be treated as
live memory. Also add a ScopedDisabler.
llvm-svn: 183099
|
2013-06-03 11:21:34 +00:00 |
Sergey Matveev
|
69f11803ec
|
[lsan] Use the fast version of GetBlockBegin for leak checking in LSan and ASan.
llvm-svn: 182994
|
2013-05-31 11:13:45 +00:00 |
Sergey Matveev
|
39e8a6d87e
|
[lsan] Begin converting LSan tests to output tests.
In this CL all old tests are removed and one LIT test is added.
llvm-svn: 182730
|
2013-05-27 11:41:46 +00:00 |
Sergey Matveev
|
bb12f840b5
|
[lsan] Ensure lsan is initialized when interceptors are called.
Also remove unnecessary ifdefs.
llvm-svn: 182571
|
2013-05-23 10:24:44 +00:00 |
Sergey Matveev
|
20ccf95f80
|
[lsan] Invoke leak detection with atexit().
Keeps it consistent between ASan and LSan.
llvm-svn: 182399
|
2013-05-21 17:56:45 +00:00 |
Sergey Matveev
|
bcfd838bcb
|
[lsan] GetUserBegin() in LSan.
Separate the notions of user-visible chunk and allocator chunk, to facilitate
ASan integration.
llvm-svn: 182256
|
2013-05-20 13:08:23 +00:00 |
Sergey Matveev
|
866abfb3fe
|
[lsan] Allocator for standalone LSan.
This is the first in a series of CLs implementing LeakSanitizer.
http://clang.llvm.org/docs/LeakSanitizer.html
llvm-svn: 182245
|
2013-05-20 10:54:00 +00:00 |