summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/rtl
Commit message (Collapse)AuthorAgeFilesLines
...
* tsan: disable getpwuid_r() and glob64() interceptors under tsan, because ↵Dmitry Vyukov2013-04-241-1/+8
| | | | | | they cause interceptor recursion if user intercepts fopen() llvm-svn: 180182
* tsan: fix crash when data race happens on out-of-bounds accesses.Dmitry Vyukov2013-04-243-4/+9
| | | | llvm-svn: 180180
* tsan: support heap starting at 0x04c0 (used in some custom deplyments)Dmitry Vyukov2013-04-231-2/+2
| | | | llvm-svn: 180116
* tsan: update Go memory mapping, Go now uses 0x00c0 heap baseDmitry Vyukov2013-04-231-6/+6
| | | | llvm-svn: 180113
* [sanitizer] Intercept inet_pton and inet_ntop.Evgeniy Stepanov2013-04-232-0/+4
| | | | llvm-svn: 180107
* [sanitizer] Intercept getgrnam{_r}, getgrgid{_r}.Evgeniy Stepanov2013-04-232-0/+8
| | | | llvm-svn: 180091
* [TSan] Allocate fd table in user heap instead of using internal allocator. ↵Alexey Samsonov2013-04-191-2/+3
| | | | | | We need this to catch races on fds. llvm-svn: 179841
* [sanitizer] Add syscall handlers to ASan and TSan runtimes.Evgeniy Stepanov2013-04-121-0/+7
| | | | | | ASan checks addressability of syscall arguments. TSan does nothing for now. llvm-svn: 179380
* [sanitizer] Interceptors for wait*.Evgeniy Stepanov2013-04-092-0/+10
| | | | llvm-svn: 179096
* [msan] Intercept glob() with tests.Evgeniy Stepanov2013-04-092-0/+4
| | | | llvm-svn: 179091
* [Sanitizer] fix TSan tests: remove global ctor from sanitizer_common, run ↵Alexey Samsonov2013-04-091-2/+3
| | | | | | load_shared_lib test only in lit llvm-svn: 179090
* Revert r179012: "[msan] Intercept glob()."Chandler Carruth2013-04-082-4/+0
| | | | | | | This was committed without tests and contains obvious bugs. That's not acceptable. It broke address sanitizer for most programs using glob(3). llvm-svn: 179054
* [msan] Intercept glob().Evgeniy Stepanov2013-04-082-0/+4
| | | | llvm-svn: 179012
* [tsan] Fix build.Evgeniy Stepanov2013-04-082-0/+2
| | | | llvm-svn: 179008
* [Sanitizer] Use a common mutex to prevent mixing reports from different ↵Alexey Samsonov2013-04-052-0/+5
| | | | | | sanitizers. This fixes PR15516 llvm-svn: 178853
* [TSan] Add the WTFAnnotateBenignRaceSized implementation and a test forAlexander Potapenko2013-04-021-0/+4
| | | | | | WTFAnnotateBenignRaceSized and AnnotateBenignRaceSized. llvm-svn: 178534
* [sanitizer] More interceptors.Evgeniy Stepanov2013-04-012-0/+18
| | | | | | | getpwnam, getpwuid, getpwnam_r, getpwuid_r, clock_getres, clock_gettime, clock_settime, getitimer, setitimer, sigaction (MSan). llvm-svn: 178465
* [tsan] restore performance critical inlining in tsan: remove static from ↵Kostya Serebryany2013-03-291-4/+4
| | | | | | ALWAYS_INLINE, use ALWAYS_INLINE USED for critical functions. llvm-svn: 178341
* Band-aid fix for the TSan RTL buildTimur Iskhodzhanov2013-03-281-7/+7
| | | | llvm-svn: 178298
* Remove all 'static' before ALWAYS_INLINETimur Iskhodzhanov2013-03-281-1/+1
| | | | llvm-svn: 178290
* Make all the ALWAYS_INLINE users Windows-friendly; also, avoid ALWAYS_INLINE ↵Timur Iskhodzhanov2013-03-282-9/+9
| | | | | | INLINE combinations llvm-svn: 178266
* tsan: print statistics about benign race annotationsDmitry Vyukov2013-03-285-10/+78
| | | | | | | (total count, unique, matched) if requested with print_benign=1 flag. llvm-svn: 178245
* tsan: print matched suppressions if print_suppressions=1 flag is providedDmitry Vyukov2013-03-278-11/+55
| | | | llvm-svn: 178159
* asan/tsan: move strcasecmp() interceptor to sanitizer_commonDmitry Vyukov2013-03-262-0/+4
| | | | llvm-svn: 178010
* [libsanitizer] Unmapping the old cache partially invalidates the memory ↵Alexander Potapenko2013-03-261-3/+3
| | | | | | | | | | layout, so add a flag to skip cache update for cases when that's unacceptable (e.g. lsan). Patch by Sergey Matveev (earthdok@google.com) llvm-svn: 178000
* tsan: intercept setjmp/longjmpDmitry Vyukov2013-03-256-8/+247
| | | | llvm-svn: 177858
* Build and install .syms files alongside sanitizer runtimes. These are used toRichard Smith2013-03-232-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 crashingDmitry Vyukov2013-03-222-1/+4
| | | | llvm-svn: 177741
* tsan: better reporting of thread leaksDmitry Vyukov2013-03-215-11/+39
| | | | | | | 1. do not report running threads as leaks 2. aggregate leaked threads by creation stack llvm-svn: 177647
* tsan: better reporting for races on vptrDmitry Vyukov2013-03-216-3/+25
| | | | | | explicitly say "ctor/dtor vs virtual call" llvm-svn: 177640
* tsan: add flag to control symbolizer flush frequencyDmitry Vyukov2013-03-213-7/+15
| | | | llvm-svn: 177638
* tsan: intercept abort() to fflush() libc streamsDmitry Vyukov2013-03-213-0/+9
| | | | llvm-svn: 177637
* tsan: remove bogus CHECKDmitry Vyukov2013-03-211-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 secondsDmitry Vyukov2013-03-213-4/+19
| | | | llvm-svn: 177629
* tsan: add a comment about magic numbersDmitry Vyukov2013-03-211-0/+3
| | | | llvm-svn: 177628
* tsan: use a single background thread for memory profiler and memory flush ↵Dmitry Vyukov2013-03-211-43/+39
| | | | | | (and later for symbolizer flush) llvm-svn: 177627
* tsan: correct sizes of signal-related data structuresDmitry Vyukov2013-03-201-4/+4
| | | | llvm-svn: 177526
* tsan: add missing stat descriptionsDmitry Vyukov2013-03-201-0/+6
| | | | llvm-svn: 177523
* tsan: call fflush(0) on exit againDmitry Vyukov2013-03-204-13/+18
| | | | llvm-svn: 177522
* tsan: reduce size of mutexsets from 64 to 16 mutexesDmitry Vyukov2013-03-201-1/+1
| | | | | | | overflow is handled anyway saves memory because each thread holds 1024 mutexsets llvm-svn: 177520
* tsan: special handling of .rodata (don't try to find races, don't keep ↵Dmitry Vyukov2013-03-205-0/+81
| | | | | | shadow, dont' put into traces) llvm-svn: 177517
* tsan: fix buildDmitry Vyukov2013-03-201-9/+1
| | | | llvm-svn: 177513
* tsan: move trace header into 0x600000000000 rangeDmitry Vyukov2013-03-205-36/+39
| | | | | | eliminat thread "dead info" altogether llvm-svn: 177512
* [sanitizer] More renamed macros.Evgeniy Stepanov2013-03-193-5/+5
| | | | llvm-svn: 177401
* [sanitizer] Replace more platform checks with SANITIZER_ constants.Evgeniy Stepanov2013-03-194-3/+7
| | | | llvm-svn: 177400
* tsan: flush dead thread info earlier (when another thread is finished rather ↵Dmitry Vyukov2013-03-192-5/+4
| | | | | | than new thread is created) llvm-svn: 177394
* tsan: instruct malloc() to consume less memoryDmitry Vyukov2013-03-191-0/+5
| | | | llvm-svn: 177393
* tsan: symbolizer "flush caches" supportDmitry Vyukov2013-03-192-0/+8
| | | | llvm-svn: 177389
* tsan: fix memory leakDmitry Vyukov2013-03-191-0/+1
| | | | llvm-svn: 177387
* [sanitizer] Don't adjust the size of the user-allocated stack.Evgeniy Stepanov2013-03-191-8/+9
| | | | | | Moved this code to sanitizer_common. llvm-svn: 177383
OpenPOWER on IntegriCloud