Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [tsan] add CompactSizeClassMap as an alternative (more compact) size class ↵ | Kostya Serebryany | 2012-12-03 | 1 | -4/+13 | |
| | | | | | | map. Not used yet. llvm-svn: 169128 | |||||
* | [tsan] remove unused InternalAllocBlock as part of larger refactoring | Kostya Serebryany | 2012-12-03 | 1 | -12/+0 | |
| | | | | llvm-svn: 169123 | |||||
* | tsan: move traces from tls into dedicated storage at fixed address | Dmitry Vyukov | 2012-11-28 | 1 | -2/+2 | |
| | | | | | | | helps to reduce tls size (it's weird to have multi-MB tls) will help with dynamically adjustable trace size llvm-svn: 168783 | |||||
* | [asan/tsan] get rid of kPageSize completely in favor of GetPageSizeCached(). ↵ | Kostya Serebryany | 2012-11-24 | 2 | -4/+4 | |
| | | | | | | This makes the code friendly to more platforms llvm-svn: 168537 | |||||
* | tsan: better error message for OOM | Dmitry Vyukov | 2012-11-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 168491 | |||||
* | [Sanitizer] fix printf unittest on 32-bit arch | Alexey Samsonov | 2012-11-02 | 1 | -4/+22 | |
| | | | | llvm-svn: 167297 | |||||
* | [Sanitizer] move unit test for Printf from tsan to sanitizer_common | Alexey Samsonov | 2012-11-02 | 2 | -0/+108 | |
| | | | | llvm-svn: 167296 | |||||
* | Fix the internal_memmove() implementation that used to skip src[0] if dst < src. | Alexander Potapenko | 2012-10-26 | 2 | -0/+23 | |
| | | | | llvm-svn: 166774 | |||||
* | [tsan] fix the tsan allocator to handle any alignment | Kostya Serebryany | 2012-09-18 | 1 | -0/+13 | |
| | | | | llvm-svn: 164107 | |||||
* | tsan: reserve msb in stack depot id's (required for msan) | Dmitry Vyukov | 2012-09-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 164010 | |||||
* | [Sanitizer] test 64-bit allocator only on suitable targets | Alexey Samsonov | 2012-09-11 | 1 | -1/+3 | |
| | | | | llvm-svn: 163615 | |||||
* | [Sanitizer] Add new lit testsuite: check-sanitizer that runs unit tests for ↵ | Alexey Samsonov | 2012-09-11 | 4 | -0/+92 | |
| | | | | | | sanitizer_common runtime (shared between ASan and TSan) llvm-svn: 163610 | |||||
* | [Sanitizer] fix warnings reported by gcc. Update the list of targets to ↵ | Alexey Samsonov | 2012-09-11 | 1 | -2/+2 | |
| | | | | | | check lint for llvm-svn: 163608 | |||||
* | [Sanitizer] remove custom Die/CheckFailed from allocator testlib | Alexey Samsonov | 2012-09-11 | 1 | -12/+0 | |
| | | | | llvm-svn: 163604 | |||||
* | [Sanitizer] Resolve fixme: break dependency of sanitizer_common tests on ↵ | Alexey Samsonov | 2012-08-31 | 1 | -6/+0 | |
| | | | | | | TSan RTL llvm-svn: 162984 | |||||
* | tsan: use stack depot to describe heap blocks | Dmitry Vyukov | 2012-08-30 | 1 | -5/+11 | |
| | | | | llvm-svn: 162902 | |||||
* | asan/tsan: first version of "stack depot" | Dmitry Vyukov | 2012-08-30 | 1 | -0/+63 | |
| | | | | llvm-svn: 162897 | |||||
* | [Sanitizer] align allocation sizes in low level allocator | Alexey Samsonov | 2012-08-27 | 1 | -0/+1 | |
| | | | | llvm-svn: 162676 | |||||
* | tsan: fix new memory allocator | Dmitry Vyukov | 2012-08-23 | 1 | -5/+3 | |
| | | | | | | | | Deallocate: drain blocks to central cache if cached too much (instead of never drain). Allocate: batch allocate fixed amount of blocks (instead of all blocks). This significantly reduces memory consumption of large heavy-multithreaded programs. llvm-svn: 162447 | |||||
* | [Sanitizer] define InternalScopedBuffer to replace large arrays on stack. It ↵ | Alexey Samsonov | 2012-08-21 | 1 | -0/+14 | |
| | | | | | | is defined analogous to similar class in tsan and should replace it. llvm-svn: 162262 | |||||
* | tsan: add some more tests for memory allocator | Dmitry Vyukov | 2012-08-15 | 1 | -0/+7 | |
| | | | | llvm-svn: 161950 | |||||
* | [tsan] fix lint | Kostya Serebryany | 2012-07-19 | 1 | -2/+1 | |
| | | | | llvm-svn: 160504 | |||||
* | [tsan] minor fixes in tsan allocator and its testlib. Now runs fine with chrome | Kostya Serebryany | 2012-07-19 | 1 | -3/+19 | |
| | | | | llvm-svn: 160503 | |||||
* | [tsan] minor enhancements in the new tsan allocator and a test malloc ↵ | Kostya Serebryany | 2012-07-18 | 2 | -0/+86 | |
| | | | | | | replacement library that can be linked to any program to replace malloc (tested on spec2006) llvm-svn: 160436 | |||||
* | [Sanitizer] add missing unit test for flag parsing (forgot to run svn add ↵ | Alexey Samsonov | 2012-07-18 | 1 | -0/+72 | |
| | | | | | | before) llvm-svn: 160428 | |||||
* | [Sanitizer] implement straightforward nlogn sorting, as qsort() may call ↵ | Alexey Samsonov | 2012-07-16 | 1 | -0/+66 | |
| | | | | | | malloc, which leads to deadlock in ASan allocator llvm-svn: 160262 | |||||
* | [tsan] start using AllocatorCache in CombinedAllocator | Kostya Serebryany | 2012-07-06 | 2 | -7/+18 | |
| | | | | llvm-svn: 159825 | |||||
* | [tsan] implement SizeClassAllocatorLocalCache (part of tsan allocator) | Kostya Serebryany | 2012-07-06 | 1 | -18/+42 | |
| | | | | llvm-svn: 159823 | |||||
* | [tsan] use intrusive list in the new tsan allocator | Kostya Serebryany | 2012-07-06 | 1 | -2/+2 | |
| | | | | llvm-svn: 159814 | |||||
* | [tsan] add intrusive list to be used in tsan allocator, etc | Kostya Serebryany | 2012-07-06 | 1 | -0/+150 | |
| | | | | llvm-svn: 159812 | |||||
* | tsan/asan: add SpinMutex to sanitizer_common | Dmitry Vyukov | 2012-06-29 | 2 | -3/+4 | |
| | | | | llvm-svn: 159439 | |||||
* | [tsan] added CombinedAllocator for tsan | Kostya Serebryany | 2012-06-29 | 1 | -5/+44 | |
| | | | | llvm-svn: 159432 | |||||
* | [tsan] added LargeMmapAllocator, a part of the new tsan allocator | Kostya Serebryany | 2012-06-26 | 1 | -1/+42 | |
| | | | | llvm-svn: 159204 | |||||
* | tsan: remove internal allocator, switch to sanitizer_common one. | Dmitry Vyukov | 2012-06-25 | 1 | -0/+56 | |
| | | | | llvm-svn: 159142 | |||||
* | [tsan] minor changes in tsan allocator | Kostya Serebryany | 2012-06-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 159139 | |||||
* | [tsan] a better CHECK for OOM in the new allocator | Kostya Serebryany | 2012-06-25 | 1 | -0/+19 | |
| | | | | llvm-svn: 159122 | |||||
* | [tsan] add metadata to the new tsan allocator | Kostya Serebryany | 2012-06-22 | 1 | -6/+40 | |
| | | | | llvm-svn: 159002 | |||||
* | [tsan] more code for a specialized tsan allocator | Kostya Serebryany | 2012-06-22 | 1 | -5/+55 | |
| | | | | llvm-svn: 158991 | |||||
* | [tsan] first step in implementing a custom allocator for tsan (and msan) ↵ | Kostya Serebryany | 2012-06-21 | 1 | -0/+43 | |
which saves precious shadow llvm-svn: 158913 |