Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [lsan] Implement the public allocator interface in standalone LSan. | Sergey Matveev | 2014-08-26 | 1 | -2/+40 | |
| | | | | llvm-svn: 216459 | |||||
* | [lsan] handle 'new T[0]' where T is a type with DTOR; fixes ↵ | Kostya Serebryany | 2014-01-10 | 1 | -1/+5 | |
| | | | | | | https://code.google.com/p/address-sanitizer/issues/detail?id=257 llvm-svn: 198932 | |||||
* | [lsan] Use real memset to clear memory in standalone LSan. | Sergey Matveev | 2013-11-24 | 1 | -2/+7 | |
| | | | | | | | Performance improvement. Also, the allocator was using CompactSizeClassMap for no good reason, so I switched it to DefaultSizeClassMap. llvm-svn: 195570 | |||||
* | Revert to C-style callbacks for iteration over allocator chunks. | Sergey Matveev | 2013-06-24 | 1 | -24/+15 | |
| | | | | | | | Also clean up LSan code, fix some comments and replace void* with uptr to bring down the number of reinterpret_casts. llvm-svn: 184700 | |||||
* | [lsan] Increase allocator space; minor fixes. | Sergey Matveev | 2013-06-21 | 1 | -11/+7 | |
| | | | | llvm-svn: 184554 | |||||
* | [asan] Move lsan_disabled out of thread context. | Sergey Matveev | 2013-06-21 | 1 | -22/+3 | |
| | | | | | | Fix for the case where disabler is used in pthread key destructor. llvm-svn: 184553 | |||||
* | [lsan] Harmonized some naming inconsistencies. | Sergey Matveev | 2013-06-11 | 1 | -3/+3 | |
| | | | | llvm-svn: 183748 | |||||
* | [lsan] Put SANITIZER_INTERFACE_ATTRIBUTE on LSan interface functions. | Sergey Matveev | 2013-06-06 | 1 | -0/+2 | |
| | | | | llvm-svn: 183429 | |||||
* | [lsan] Implement __lsan_ignore_object(). | Sergey Matveev | 2013-06-06 | 1 | -0/+15 | |
| | | | | | | Leak annotation similar to HeapChecker's IgnoreObject(). llvm-svn: 183412 | |||||
* | [lsan] Add __lsan_disable() and __lsan_enable(). | Sergey Matveev | 2013-06-03 | 1 | -1/+20 | |
| | | | | | | | Objects allocated after a call to __lsan_disable() will be treated as live memory. Also add a ScopedDisabler. llvm-svn: 183099 | |||||
* | [lsan] Use the fast version of GetBlockBegin for leak checking in LSan and ASan. | Sergey Matveev | 2013-05-31 | 1 | -2/+1 | |
| | | | | llvm-svn: 182994 | |||||
* | [lsan] Begin converting LSan tests to output tests. | Sergey Matveev | 2013-05-27 | 1 | -1/+0 | |
| | | | | | | In this CL all old tests are removed and one LIT test is added. llvm-svn: 182730 | |||||
* | [lsan] Ensure lsan is initialized when interceptors are called. | Sergey Matveev | 2013-05-23 | 1 | -2/+0 | |
| | | | | | | Also remove unnecessary ifdefs. llvm-svn: 182571 | |||||
* | [lsan] Invoke leak detection with atexit(). | Sergey Matveev | 2013-05-21 | 1 | -1/+2 | |
| | | | | | | Keeps it consistent between ASan and LSan. llvm-svn: 182399 | |||||
* | [lsan] GetUserBegin() in LSan. | Sergey Matveev | 2013-05-20 | 1 | -0/+4 | |
| | | | | | | | Separate the notions of user-visible chunk and allocator chunk, to facilitate ASan integration. llvm-svn: 182256 | |||||
* | [lsan] Allocator for standalone LSan. | Sergey Matveev | 2013-05-20 | 1 | -0/+188 | |
This is the first in a series of CLs implementing LeakSanitizer. http://clang.llvm.org/docs/LeakSanitizer.html llvm-svn: 182245 |