summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/lsan/lsan_allocator.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* [lsan] Implement the public allocator interface in standalone LSan.Sergey Matveev2014-08-261-2/+40
| | | | llvm-svn: 216459
* [lsan] handle 'new T[0]' where T is a type with DTOR; fixes ↵Kostya Serebryany2014-01-101-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 Matveev2013-11-241-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 Matveev2013-06-241-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 Matveev2013-06-211-11/+7
| | | | llvm-svn: 184554
* [asan] Move lsan_disabled out of thread context.Sergey Matveev2013-06-211-22/+3
| | | | | | Fix for the case where disabler is used in pthread key destructor. llvm-svn: 184553
* [lsan] Harmonized some naming inconsistencies.Sergey Matveev2013-06-111-3/+3
| | | | llvm-svn: 183748
* [lsan] Put SANITIZER_INTERFACE_ATTRIBUTE on LSan interface functions.Sergey Matveev2013-06-061-0/+2
| | | | llvm-svn: 183429
* [lsan] Implement __lsan_ignore_object().Sergey Matveev2013-06-061-0/+15
| | | | | | Leak annotation similar to HeapChecker's IgnoreObject(). llvm-svn: 183412
* [lsan] Add __lsan_disable() and __lsan_enable().Sergey Matveev2013-06-031-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 Matveev2013-05-311-2/+1
| | | | llvm-svn: 182994
* [lsan] Begin converting LSan tests to output tests.Sergey Matveev2013-05-271-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 Matveev2013-05-231-2/+0
| | | | | | Also remove unnecessary ifdefs. llvm-svn: 182571
* [lsan] Invoke leak detection with atexit().Sergey Matveev2013-05-211-1/+2
| | | | | | Keeps it consistent between ASan and LSan. llvm-svn: 182399
* [lsan] GetUserBegin() in LSan.Sergey Matveev2013-05-201-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 Matveev2013-05-201-0/+188
This is the first in a series of CLs implementing LeakSanitizer. http://clang.llvm.org/docs/LeakSanitizer.html llvm-svn: 182245
OpenPOWER on IntegriCloud