summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* [tsan] add CompactSizeClassMap as an alternative (more compact) size class ↵Kostya Serebryany2012-12-031-4/+13
| | | | | | map. Not used yet. llvm-svn: 169128
* [tsan] remove unused InternalAllocBlock as part of larger refactoringKostya Serebryany2012-12-031-12/+0
| | | | llvm-svn: 169123
* tsan: move traces from tls into dedicated storage at fixed addressDmitry Vyukov2012-11-281-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 Serebryany2012-11-242-4/+4
| | | | | | This makes the code friendly to more platforms llvm-svn: 168537
* tsan: better error message for OOMDmitry Vyukov2012-11-221-1/+1
| | | | llvm-svn: 168491
* [Sanitizer] fix printf unittest on 32-bit archAlexey Samsonov2012-11-021-4/+22
| | | | llvm-svn: 167297
* [Sanitizer] move unit test for Printf from tsan to sanitizer_commonAlexey Samsonov2012-11-022-0/+108
| | | | llvm-svn: 167296
* Fix the internal_memmove() implementation that used to skip src[0] if dst < src.Alexander Potapenko2012-10-262-0/+23
| | | | llvm-svn: 166774
* [tsan] fix the tsan allocator to handle any alignmentKostya Serebryany2012-09-181-0/+13
| | | | llvm-svn: 164107
* tsan: reserve msb in stack depot id's (required for msan)Dmitry Vyukov2012-09-171-1/+1
| | | | llvm-svn: 164010
* [Sanitizer] test 64-bit allocator only on suitable targetsAlexey Samsonov2012-09-111-1/+3
| | | | llvm-svn: 163615
* [Sanitizer] Add new lit testsuite: check-sanitizer that runs unit tests for ↵Alexey Samsonov2012-09-114-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 Samsonov2012-09-111-2/+2
| | | | | | check lint for llvm-svn: 163608
* [Sanitizer] remove custom Die/CheckFailed from allocator testlibAlexey Samsonov2012-09-111-12/+0
| | | | llvm-svn: 163604
* [Sanitizer] Resolve fixme: break dependency of sanitizer_common tests on ↵Alexey Samsonov2012-08-311-6/+0
| | | | | | TSan RTL llvm-svn: 162984
* tsan: use stack depot to describe heap blocksDmitry Vyukov2012-08-301-5/+11
| | | | llvm-svn: 162902
* asan/tsan: first version of "stack depot"Dmitry Vyukov2012-08-301-0/+63
| | | | llvm-svn: 162897
* [Sanitizer] align allocation sizes in low level allocatorAlexey Samsonov2012-08-271-0/+1
| | | | llvm-svn: 162676
* tsan: fix new memory allocatorDmitry Vyukov2012-08-231-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 Samsonov2012-08-211-0/+14
| | | | | | is defined analogous to similar class in tsan and should replace it. llvm-svn: 162262
* tsan: add some more tests for memory allocatorDmitry Vyukov2012-08-151-0/+7
| | | | llvm-svn: 161950
* [tsan] fix lintKostya Serebryany2012-07-191-2/+1
| | | | llvm-svn: 160504
* [tsan] minor fixes in tsan allocator and its testlib. Now runs fine with chromeKostya Serebryany2012-07-191-3/+19
| | | | llvm-svn: 160503
* [tsan] minor enhancements in the new tsan allocator and a test malloc ↵Kostya Serebryany2012-07-182-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 Samsonov2012-07-181-0/+72
| | | | | | before) llvm-svn: 160428
* [Sanitizer] implement straightforward nlogn sorting, as qsort() may call ↵Alexey Samsonov2012-07-161-0/+66
| | | | | | malloc, which leads to deadlock in ASan allocator llvm-svn: 160262
* [tsan] start using AllocatorCache in CombinedAllocatorKostya Serebryany2012-07-062-7/+18
| | | | llvm-svn: 159825
* [tsan] implement SizeClassAllocatorLocalCache (part of tsan allocator)Kostya Serebryany2012-07-061-18/+42
| | | | llvm-svn: 159823
* [tsan] use intrusive list in the new tsan allocatorKostya Serebryany2012-07-061-2/+2
| | | | llvm-svn: 159814
* [tsan] add intrusive list to be used in tsan allocator, etcKostya Serebryany2012-07-061-0/+150
| | | | llvm-svn: 159812
* tsan/asan: add SpinMutex to sanitizer_commonDmitry Vyukov2012-06-292-3/+4
| | | | llvm-svn: 159439
* [tsan] added CombinedAllocator for tsanKostya Serebryany2012-06-291-5/+44
| | | | llvm-svn: 159432
* [tsan] added LargeMmapAllocator, a part of the new tsan allocatorKostya Serebryany2012-06-261-1/+42
| | | | llvm-svn: 159204
* tsan: remove internal allocator, switch to sanitizer_common one.Dmitry Vyukov2012-06-251-0/+56
| | | | llvm-svn: 159142
* [tsan] minor changes in tsan allocatorKostya Serebryany2012-06-251-1/+1
| | | | llvm-svn: 159139
* [tsan] a better CHECK for OOM in the new allocatorKostya Serebryany2012-06-251-0/+19
| | | | llvm-svn: 159122
* [tsan] add metadata to the new tsan allocatorKostya Serebryany2012-06-221-6/+40
| | | | llvm-svn: 159002
* [tsan] more code for a specialized tsan allocatorKostya Serebryany2012-06-221-5/+55
| | | | llvm-svn: 158991
* [tsan] first step in implementing a custom allocator for tsan (and msan) ↵Kostya Serebryany2012-06-211-0/+43
which saves precious shadow llvm-svn: 158913
OpenPOWER on IntegriCloud