| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | [lsan] Use the fast version of GetBlockBegin for leak checking in LSan and ASan. | Sergey Matveev | 2013-05-31 | 1 | -4/+11 | |
| | | | | | llvm-svn: 182994 | |||||
| * | [sanitizer] introduce LargeMmapAllocator::GetBlockBeginFastSingleThreaded, ↵ | Kostya Serebryany | 2013-05-30 | 1 | -2/+49 | |
| | | | | | | | required for LeakSanitizer to work faster. Also fix lint. llvm-svn: 182917 | |||||
| * | Fix MSVC W3 compiler warnings | Timur Iskhodzhanov | 2013-05-29 | 1 | -1/+1 | |
| | | | | | llvm-svn: 182857 | |||||
| * | [sanitizer] factor out ByteMap from SizeClassAllocator32 so that it can be ↵ | Kostya Serebryany | 2013-05-20 | 1 | -18/+39 | |
| | | | | | | | later replaced with a more memory-efficient implementation on 64-bit. llvm-svn: 182234 | |||||
| * | [sanitizer] fix gcc build | Kostya Serebryany | 2013-05-16 | 1 | -1/+1 | |
| | | | | | llvm-svn: 182006 | |||||
| * | [sanitizer] Fix the region overflow condition in ↵ | Sergey Matveev | 2013-05-16 | 1 | -1/+1 | |
| | | | | | | | SanitizerAllocator64::PopulateFreeList(). llvm-svn: 182002 | |||||
| * | [sanitizer] fix a gcc warning | Kostya Serebryany | 2013-05-16 | 1 | -1/+1 | |
| | | | | | llvm-svn: 181992 | |||||
| * | [sanitizer] fix the GetBlockBegin overflow bug while preserving the ↵ | Kostya Serebryany | 2013-05-16 | 1 | -4/+5 | |
| | | | | | | | performance optimization (use 32-bit division when possible). Improve the benchmarks that checks for performance of GetBlockBegin/GetMetaData llvm-svn: 181989 | |||||
| * | [sanitizer] Fix boundary condition in LargeMmapAllocator::GetBlockBegin. ↵ | Kostya Serebryany | 2013-04-08 | 1 | -1/+1 | |
| | | | | | | | Patch by Sergey Matveev llvm-svn: 179007 | |||||
| * | asan/tsan: reduce per-thread memory allocator caches | Dmitry Vyukov | 2013-03-20 | 1 | -1/+1 | |
| | | | | | | | | 256 blocks (which is 512 in reallity) seems to be too big cache, reducing the size reduces memory consumption but does not degrade performance. llvm-svn: 177502 | |||||
| * | [asan] Add ForEachChunk() to sanitizer allocators. Patch by Sergey Matveev | Kostya Serebryany | 2013-03-15 | 1 | -0/+55 | |
| | | | | | llvm-svn: 177147 | |||||
| * | [asan] remove one redundant malloc stress test, unify the usage of ↵ | Kostya Serebryany | 2013-03-14 | 1 | -1/+1 | |
| | | | | | | | ASAN_LOW_MEMORY macro in tests, slightly reduce test memory usage (all to make 32-bit runs consume less RAM) llvm-svn: 177069 | |||||
| * | [sanitizer] use fewer size classes in the allocator to reduce the memory ↵ | Kostya Serebryany | 2013-03-12 | 1 | -25/+27 | |
| | | | | | | | footprint. There is no all-size-fits-all constant here, but this change is positive or neutral on several large apps I've tested llvm-svn: 176855 | |||||
| * | [sanitizer] simplify the allocator's SizeClassMap: do not require an extra ↵ | Kostya Serebryany | 2013-03-12 | 1 | -20/+15 | |
| | | | | | | | template parameter, instead compute it in flight. No functionality change llvm-svn: 176853 | |||||
| * | [sanitizer] make SizeClassAllocator64::GetBlockBegin more bullet proof (by ↵ | Kostya Serebryany | 2013-03-11 | 1 | -0/+2 | |
| | | | | | | | Sergey Matveev) llvm-svn: 176799 | |||||
| * | [sanitizers] Fix check failure on dealloc from new thread | Reid Kleckner | 2013-03-06 | 1 | -2/+13 | |
| | | | | | | | | | | | | | | | Summary: Adds a test for this case, which was reduced from a chromium build of WebKit's DumpRenderTree. Reviewers: eugenis CC: glider Differential Revision: http://llvm-reviews.chandlerc.com/D495 llvm-svn: 176552 | |||||
| * | [sanitizer] Fix check failure in SizeClassMap::Print. | Evgeniy Stepanov | 2013-03-01 | 1 | -1/+1 | |
| | | | | | llvm-svn: 176338 | |||||
| * | [asan] a bit stricter lint for CHECK vs CHECK_XX (these CHECK_XX really help ↵ | Kostya Serebryany | 2013-02-26 | 1 | -0/+1 | |
| | | | | | | | debugging!) llvm-svn: 176085 | |||||
| * | [ASan] Switch Windows to allocator v2, also fixing some build errors | Timur Iskhodzhanov | 2013-02-08 | 1 | -3/+3 | |
| | | | | | llvm-svn: 174707 | |||||
| * | [sanitizer] always allocate 16-byte aligned chunks of memory | Kostya Serebryany | 2013-02-07 | 1 | -23/+38 | |
| | | | | | llvm-svn: 174617 | |||||
| * | [sanitizer_common] Fix lint warnings. | Alexander Potapenko | 2013-02-07 | 1 | -4/+4 | |
| | | | | | llvm-svn: 174616 | |||||
| * | [ASan] Fix a compilation warning. | Alexander Potapenko | 2013-02-07 | 1 | -1/+1 | |
| | | | | | llvm-svn: 174604 | |||||
| * | [ASan] Implement asan_mz_size(), asan_mz_force_lock() and ↵ | Alexander Potapenko | 2013-02-07 | 1 | -0/+50 | |
| | | | | | | | | | asan_mz_force_unlock() for allocator2. Switch to allocator2 on Darwin. llvm-svn: 174603 | |||||
| * | asan/tsan: fix compilation errors/bugs on Windows where long is 32-bit even ↵ | Dmitry Vyukov | 2013-02-04 | 1 | -1/+1 | |
| | | | | | | | in 64-bit mode llvm-svn: 174312 | |||||
| * | Use the correct order of NOINLINE vs ret type to fix Windows build | Timur Iskhodzhanov | 2013-01-28 | 1 | -7/+7 | |
| | | | | | llvm-svn: 173694 | |||||
| * | [sanitizer] fix calloc overflow in asan/tsan/msan | Kostya Serebryany | 2013-01-25 | 1 | -0/+3 | |
| | | | | | llvm-svn: 173441 | |||||
| * | tsan: implement malloc stats querying | Dmitry Vyukov | 2013-01-24 | 1 | -20/+135 | |
| | | | | | llvm-svn: 173332 | |||||
| * | [sanitizer] increase the minimal mmap size in allocator to 2^16; fix the ↵ | Kostya Serebryany | 2013-01-23 | 1 | -1/+1 | |
| | | | | | | | asan Mac build llvm-svn: 173261 | |||||
| * | asan: faster thead-local cache for memory allocator | Dmitry Vyukov | 2013-01-15 | 1 | -38/+57 | |
| | | | | | llvm-svn: 172521 | |||||
| * | asan/tsan: mmap shadow memory before allocating memory (otherwise other ↵ | Dmitry Vyukov | 2013-01-14 | 1 | -16/+18 | |
| | | | | | | | threads can access non yet allocated shadow) llvm-svn: 172395 | |||||
| * | asan/tsan: fix memory allocator statistics | Dmitry Vyukov | 2013-01-14 | 1 | -2/+2 | |
| | | | | | llvm-svn: 172390 | |||||
| * | asan/tsan: faster memory allocator | Dmitry Vyukov | 2013-01-14 | 1 | -26/+31 | |
| | | | | | | | | | 1. Increase size classes from 32k to 128k 2. Use lock-free stack in central cache 3. Use blocking mutex when allocate new memory with mmap llvm-svn: 172388 | |||||
| * | asan/tsan: move blocking mutex from asan to sanitizer_common | Dmitry Vyukov | 2013-01-14 | 1 | -3/+3 | |
| | | | | | llvm-svn: 172380 | |||||
| * | asan/tsan: faster memory allocator | Dmitry Vyukov | 2013-01-11 | 1 | -162/+134 | |
| | | | | | | | replace lists with arrays llvm-svn: 172217 | |||||
| * | asan: always pass allocator cache to Allocate() | Dmitry Vyukov | 2013-01-11 | 1 | -7/+4 | |
| | | | | | llvm-svn: 172193 | |||||
| * | [sanitizer] better statistics for the large allocator | Kostya Serebryany | 2013-01-10 | 1 | -2/+11 | |
| | | | | | llvm-svn: 172069 | |||||
| * | asan/tsan: fix comment | Dmitry Vyukov | 2013-01-10 | 1 | -3/+3 | |
| | | | | | llvm-svn: 172064 | |||||
| * | [sanitizer] add statistics to the allocator; fix lint | Kostya Serebryany | 2012-12-27 | 1 | -6/+61 | |
| | | | | | llvm-svn: 171161 | |||||
| * | [asan] asan_allocator2: store the user requested size in just 32 bits ↵ | Kostya Serebryany | 2012-12-26 | 1 | -0/+4 | |
| | | | | | | | (larger sizes use metadata). This allows to put one more 32-bit field into the chunk header llvm-svn: 171089 | |||||
| * | [asan] add a test for right OOB with special large sizes. Fix this test in ↵ | Kostya Serebryany | 2012-12-25 | 1 | -2/+2 | |
| | | | | | | | asan_allocator2. More test tweaking for allocator2 llvm-svn: 171058 | |||||
| * | [sanitizer] increase the maximum size class of the fast allocator. This ↵ | Kostya Serebryany | 2012-12-25 | 1 | -3/+6 | |
| | | | | | | | should save quite a bit of memory in tsan/msan (and later in asan). This also puts more stress on the large allocator. Add a couple of checks llvm-svn: 171055 | |||||
| * | [sanitizer] make LargeMmapAllocator::GetBlockBegin faster by not using a ↵ | Kostya Serebryany | 2012-12-24 | 1 | -22/+33 | |
| | | | | | | | linked list llvm-svn: 171035 | |||||
| * | [sanitizer] rework the size class map in the sanitizer allocator: make the ↵ | Kostya Serebryany | 2012-12-24 | 1 | -69/+133 | |
| | | | | | | | differences between size classes more uniform. llvm-svn: 171031 | |||||
| * | [asan] asan_allocator2 fix two asserts that happen on full chrome: a) ↵ | Kostya Serebryany | 2012-12-21 | 1 | -3/+7 | |
| | | | | | | | memalign called with 0 size and large alignment and b) malloc called after TSD has been destructed llvm-svn: 170900 | |||||
| * | [sanitizer] mmap less on every size class to make the allocator more ↵ | Kostya Serebryany | 2012-12-21 | 1 | -13/+21 | |
| | | | | | | | friendly to small programs llvm-svn: 170895 | |||||
| * | [asan] asan_allocator2: improve FindHeapChunkByAddress to find memory chunks ↵ | Kostya Serebryany | 2012-12-19 | 1 | -2/+5 | |
| | | | | | | | to the left of a given address. Almost all tests pass with the new allocator now, only 6 are left to fix. llvm-svn: 170511 | |||||
| * | [sanitizer] one more stability fix in 64-bit allocator | Kostya Serebryany | 2012-12-19 | 1 | -1/+2 | |
| | | | | | llvm-svn: 170498 | |||||
| * | [sanitizer] fix LargeMmapAllocator::GetBlockBegin | Kostya Serebryany | 2012-12-18 | 1 | -12/+6 | |
| | | | | | llvm-svn: 170434 | |||||
| * | [sanitizer] fix a bug that has crept into the sanitizer allocator and caused ↵ | Kostya Serebryany | 2012-12-15 | 1 | -1/+1 | |
| | | | | | | | SEGV on allocations between 1Mb and 2Mb, improve the test llvm-svn: 170274 | |||||
| * | [sanitizer] introduce MmapFixedOrDie and use it in SizeClassAllocator64 | Kostya Serebryany | 2012-12-13 | 1 | -1/+1 | |
| | | | | | llvm-svn: 170099 | |||||

