Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [tsan] add a test for aligned-vs-unaligned race (tsan's false negative) | Kostya Serebryany | 2013-03-26 | 1 | -0/+30 | |
| | | | | llvm-svn: 177996 | |||||
* | [TSan] Build TSan unit tests with the same compile flags as TSan runtime | Alexey Samsonov | 2013-03-25 | 1 | -3/+3 | |
| | | | | llvm-svn: 177859 | |||||
* | tsan: intercept setjmp/longjmp | Dmitry Vyukov | 2013-03-25 | 10 | -8/+392 | |
| | | | | llvm-svn: 177858 | |||||
* | Build and install .syms files alongside sanitizer runtimes. These are used to | Richard Smith | 2013-03-23 | 2 | -1/+3 | |
| | | | | | | | specify which symbols are exported to DSOs when the sanitizer is statically linked into a binary. llvm-svn: 177784 | |||||
* | tsan: return 0 on malloc() failure instead of crashing | Dmitry Vyukov | 2013-03-22 | 3 | -1/+26 | |
| | | | | llvm-svn: 177741 | |||||
* | tsan: test that tsan explicitly says "race on vptr". | Dmitry Vyukov | 2013-03-22 | 1 | -1/+1 | |
| | | | | | | Requires llvm r177717. llvm-svn: 177726 | |||||
* | tsan: work around FileCheck bug with empty outputs | Dmitry Vyukov | 2013-03-22 | 1 | -0/+2 | |
| | | | | llvm-svn: 177715 | |||||
* | tsan: better reporting of thread leaks | Dmitry Vyukov | 2013-03-21 | 8 | -11/+76 | |
| | | | | | | | 1. do not report running threads as leaks 2. aggregate leaked threads by creation stack llvm-svn: 177647 | |||||
* | tsan: better reporting for races on vptr | Dmitry Vyukov | 2013-03-21 | 8 | -4/+79 | |
| | | | | | | explicitly say "ctor/dtor vs virtual call" llvm-svn: 177640 | |||||
* | tsan: add flag to control symbolizer flush frequency | Dmitry Vyukov | 2013-03-21 | 3 | -7/+15 | |
| | | | | llvm-svn: 177638 | |||||
* | tsan: intercept abort() to fflush() libc streams | Dmitry Vyukov | 2013-03-21 | 3 | -0/+9 | |
| | | | | llvm-svn: 177637 | |||||
* | tsan: remove bogus CHECK | Dmitry Vyukov | 2013-03-21 | 1 | -1/+0 | |
| | | | | | | Asynchronous signal (e.g. SIGABRT) can be received with any value of in_rtl. llvm-svn: 177636 | |||||
* | tsan: flush symbolizer cache if not symbolized for more than 5 seconds | Dmitry Vyukov | 2013-03-21 | 3 | -4/+19 | |
| | | | | llvm-svn: 177629 | |||||
* | tsan: add a comment about magic numbers | Dmitry Vyukov | 2013-03-21 | 1 | -0/+3 | |
| | | | | llvm-svn: 177628 | |||||
* | tsan: use a single background thread for memory profiler and memory flush ↵ | Dmitry Vyukov | 2013-03-21 | 1 | -43/+39 | |
| | | | | | | (and later for symbolizer flush) llvm-svn: 177627 | |||||
* | tsan: correct sizes of signal-related data structures | Dmitry Vyukov | 2013-03-20 | 1 | -4/+4 | |
| | | | | llvm-svn: 177526 | |||||
* | tsan: add missing stat descriptions | Dmitry Vyukov | 2013-03-20 | 1 | -0/+6 | |
| | | | | llvm-svn: 177523 | |||||
* | tsan: call fflush(0) on exit again | Dmitry Vyukov | 2013-03-20 | 4 | -13/+18 | |
| | | | | llvm-svn: 177522 | |||||
* | tsan: reduce size of mutexsets from 64 to 16 mutexes | Dmitry Vyukov | 2013-03-20 | 2 | -1/+3 | |
| | | | | | | | overflow is handled anyway saves memory because each thread holds 1024 mutexsets llvm-svn: 177520 | |||||
* | tsan: fix incorrect test | Dmitry Vyukov | 2013-03-20 | 1 | -1/+2 | |
| | | | | llvm-svn: 177519 | |||||
* | tsan: special handling of .rodata (don't try to find races, don't keep ↵ | Dmitry Vyukov | 2013-03-20 | 5 | -0/+81 | |
| | | | | | | shadow, dont' put into traces) llvm-svn: 177517 | |||||
* | tsan: fix build | Dmitry Vyukov | 2013-03-20 | 1 | -9/+1 | |
| | | | | llvm-svn: 177513 | |||||
* | tsan: move trace header into 0x600000000000 range | Dmitry Vyukov | 2013-03-20 | 5 | -36/+39 | |
| | | | | | | eliminat thread "dead info" altogether llvm-svn: 177512 | |||||
* | tsan: fix flaky test | Dmitry Vyukov | 2013-03-20 | 1 | -0/+1 | |
| | | | | llvm-svn: 177500 | |||||
* | tsan: fix incorrect test | Dmitry Vyukov | 2013-03-20 | 1 | -0/+2 | |
| | | | | llvm-svn: 177499 | |||||
* | [sanitizer] More renamed macros. | Evgeniy Stepanov | 2013-03-19 | 4 | -6/+6 | |
| | | | | llvm-svn: 177401 | |||||
* | [sanitizer] Replace more platform checks with SANITIZER_ constants. | Evgeniy Stepanov | 2013-03-19 | 5 | -4/+8 | |
| | | | | llvm-svn: 177400 | |||||
* | tsan: flush dead thread info earlier (when another thread is finished rather ↵ | Dmitry Vyukov | 2013-03-19 | 2 | -5/+4 | |
| | | | | | | than new thread is created) llvm-svn: 177394 | |||||
* | tsan: instruct malloc() to consume less memory | Dmitry Vyukov | 2013-03-19 | 1 | -0/+5 | |
| | | | | llvm-svn: 177393 | |||||
* | tsan: symbolizer "flush caches" support | Dmitry Vyukov | 2013-03-19 | 2 | -0/+8 | |
| | | | | llvm-svn: 177389 | |||||
* | tsan: fix memory leak | Dmitry Vyukov | 2013-03-19 | 1 | -0/+1 | |
| | | | | llvm-svn: 177387 | |||||
* | [sanitizer] Don't adjust the size of the user-allocated stack. | Evgeniy Stepanov | 2013-03-19 | 1 | -8/+9 | |
| | | | | | | Moved this code to sanitizer_common. llvm-svn: 177383 | |||||
* | tsan: do not allocate sync vars on relaxed atomic operations | Dmitry Vyukov | 2013-03-19 | 1 | -18/+26 | |
| | | | | | | helps to reduce memory consumption if an atomic is used only with relaxed ops (stats) llvm-svn: 177381 | |||||
* | tsan: smaller memory block headers (32b->16b) | Dmitry Vyukov | 2013-03-18 | 5 | -49/+141 | |
| | | | | llvm-svn: 177312 | |||||
* | tsan: add support for idle threads | Dmitry Vyukov | 2013-03-18 | 1 | -0/+5 | |
| | | | | llvm-svn: 177292 | |||||
* | tsan: touch less shadow memory during operations on big memory ranges | Dmitry Vyukov | 2013-03-18 | 3 | -21/+48 | |
| | | | | | | greatly reduces memory consumption llvm-svn: 177289 | |||||
* | tsan: mark shadow for thread stack as "don't need" when thread exits | Dmitry Vyukov | 2013-03-18 | 5 | -21/+13 | |
| | | | | llvm-svn: 177288 | |||||
* | tsan: better memory profiler | Dmitry Vyukov | 2013-03-18 | 3 | -15/+80 | |
| | | | | llvm-svn: 177286 | |||||
* | tsan: madvise(DONTNEED) shadow memory on munmap() | Dmitry Vyukov | 2013-03-18 | 1 | -0/+5 | |
| | | | | llvm-svn: 177278 | |||||
* | tsan: move implementation out of h file | Dmitry Vyukov | 2013-03-18 | 2 | -14/+15 | |
| | | | | llvm-svn: 177269 | |||||
* | tsan: fix clang -Wall build | Dmitry Vyukov | 2013-03-18 | 2 | -0/+6 | |
| | | | | | | | Clang does not like classes with virtual functions but w/o virtual dtor. Go does not like libstdc++ (operator delete). llvm-svn: 177267 | |||||
* | [TSan] re-apply r177249 lost in edits | Alexey Samsonov | 2013-03-18 | 1 | -1/+2 | |
| | | | | llvm-svn: 177265 | |||||
* | tsan: fix memory leak | Dmitry Vyukov | 2013-03-18 | 1 | -0/+1 | |
| | | | | llvm-svn: 177262 | |||||
* | tsan: use StackDepot for thread creation stacks | Dmitry Vyukov | 2013-03-18 | 3 | -0/+19 | |
| | | | | llvm-svn: 177261 | |||||
* | tsan: fix Go build | Dmitry Vyukov | 2013-03-18 | 4 | -16/+21 | |
| | | | | llvm-svn: 177260 | |||||
* | tsan: use StackDepot in sync object to store creation stacks | Dmitry Vyukov | 2013-03-18 | 4 | -35/+12 | |
| | | | | llvm-svn: 177258 | |||||
* | [TSan] fix undefined variable in debug TSan build | Alexey Samsonov | 2013-03-18 | 1 | -1/+2 | |
| | | | | llvm-svn: 177249 | |||||
* | [TSan] Use ThreadRegistry::FindThreadContextLocked() to find thread by its ↵ | Alexey Samsonov | 2013-03-18 | 1 | -20/+23 | |
| | | | | | | stack/tls address. llvm-svn: 177248 | |||||
* | [TSan] Makefiles: allow configurable paths to clang and FileCheck. Add ↵ | Alexey Samsonov | 2013-03-18 | 3 | -10/+13 | |
| | | | | | | -fno-rtti flag. llvm-svn: 177247 | |||||
* | [TSan] Switch TSan runtime to use ThreadRegistry class from sanitizer_common | Alexey Samsonov | 2013-03-15 | 9 | -335/+230 | |
| | | | | llvm-svn: 177154 |