Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [sanitizer] reapply r172719, r172721-172723, r172725, and also fix the ↵ | Kostya Serebryany | 2013-01-18 | 1 | -2/+1 | |
| | | | | | | warning on Mac. llvm-svn: 172791 | |||||
* | Revert r172719, r172721-172723, and r172725. | Jakob Stoklund Olesen | 2013-01-17 | 2 | -40/+2 | |
| | | | | | | | | | | | | | | | | | | The r172719 patch broke the build on Mac, the others depended on it. compiler-rt/lib/asan/asan_interceptors.cc:78:13: error: unused function 'SetThreadName' [-Werror,-Wunused-function] static void SetThreadName(const char *name) { Orignal headlines: [asan] attempting to fix the Mac build [asan] restructure read/pread/pread64 tests [sanitizer] move write/pwrite/pwrite64 interceptors to common [msan] start using common interceptors in msan [tsan] move prctl interceptor from asan to common_interceptors thus enabling it for tsan too llvm-svn: 172763 | |||||
* | [sanitizer] move write/pwrite/pwrite64 interceptors to common | Kostya Serebryany | 2013-01-17 | 1 | -0/+39 | |
| | | | | llvm-svn: 172722 | |||||
* | [tsan] move prctl interceptor from asan to common_interceptors thus enabling ↵ | Kostya Serebryany | 2013-01-17 | 1 | -2/+1 | |
| | | | | | | it for tsan too llvm-svn: 172719 | |||||
* | [tsan] add write_range/read_range hooks to common interceptors called from ↵ | Kostya Serebryany | 2013-01-17 | 1 | -0/+32 | |
| | | | | | | tsan (to find races on read/pread/etc) llvm-svn: 172714 | |||||
* | [sanitizer] a bit more unification for interceptors (merge ↵ | Kostya Serebryany | 2013-01-17 | 1 | -0/+1 | |
| | | | | | | read/pread/pread64 in asan and tsan) llvm-svn: 172713 | |||||
* | tsan: describe stack and TLS addresses | Dmitry Vyukov | 2013-01-14 | 5 | -10/+97 | |
| | | | | llvm-svn: 172393 | |||||
* | tsan: symbolize global variables | Dmitry Vyukov | 2013-01-11 | 1 | -0/+25 | |
| | | | | llvm-svn: 172181 | |||||
* | tsan: fix crash when user defines own fopen/fileno | Dmitry Vyukov | 2013-01-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 171967 | |||||
* | tsan: fix crash when user defines own fopen/fileno | Dmitry Vyukov | 2013-01-09 | 2 | -0/+61 | |
| | | | | llvm-svn: 171958 | |||||
* | [TSan] Blacklist test: Rename blacklisted function. Make this test work for ↵ | Alexey Samsonov | 2012-12-28 | 3 | -4/+5 | |
| | | | | | | custom TSan testing script. llvm-svn: 171186 | |||||
* | [TSan] Add lit test for -fsanitize-blacklist= flag | Alexey Samsonov | 2012-12-28 | 3 | -0/+34 | |
| | | | | llvm-svn: 171185 | |||||
* | Make ASan and TSan tests a bit less brittle with @LINE FileCheck macro | Alexey Samsonov | 2012-12-28 | 7 | -72/+59 | |
| | | | | llvm-svn: 171181 | |||||
* | Define COMPILER_RT_CAN_EXECUTE_TESTS variable on platforms where we can ↵ | Alexey Samsonov | 2012-12-27 | 1 | -4/+4 | |
| | | | | | | produce working binaries and use it in build rules for sanitizers tests llvm-svn: 171160 | |||||
* | tsan: work around FileCheck feature that it does not accept empty input | Dmitry Vyukov | 2012-12-24 | 12 | -4/+11 | |
| | | | | llvm-svn: 171034 | |||||
* | tsan: more defensive file descriptor verification | Dmitry Vyukov | 2012-12-24 | 1 | -2/+1 | |
| | | | | | | to prevent assertion failures on code like "write(-1, ...)" llvm-svn: 171030 | |||||
* | tsan: add java malloc stress test | Dmitry Vyukov | 2012-12-21 | 1 | -0/+32 | |
| | | | | llvm-svn: 170896 | |||||
* | tsan: add java rwlock test | Dmitry Vyukov | 2012-12-21 | 1 | -0/+32 | |
| | | | | llvm-svn: 170894 | |||||
* | tsan: add a test for java memory move | Dmitry Vyukov | 2012-12-21 | 1 | -0/+31 | |
| | | | | llvm-svn: 170893 | |||||
* | tsan: move common part of java tests into a separate header | Dmitry Vyukov | 2012-12-21 | 4 | -46/+20 | |
| | | | | llvm-svn: 170892 | |||||
* | tsan: fix Java memory move operations and add the test | Dmitry Vyukov | 2012-12-21 | 1 | -0/+54 | |
| | | | | llvm-svn: 170891 | |||||
* | tsan: update mutex lock table for java | Dmitry Vyukov | 2012-12-21 | 1 | -0/+46 | |
| | | | | llvm-svn: 170885 | |||||
* | tsan: add lit test with statically linker libstdc++ | Dmitry Vyukov | 2012-12-21 | 1 | -0/+42 | |
| | | | | llvm-svn: 170866 | |||||
* | tsan: add java interface implementation stub | Dmitry Vyukov | 2012-12-20 | 1 | -0/+37 | |
| | | | | llvm-svn: 170681 | |||||
* | tsan: remove TSAN_OPTIONS from the script | Dmitry Vyukov | 2012-12-18 | 1 | -1/+1 | |
| | | | | | | | | The runtime skips atexit sleep if there are no threads now, so it must be fast w/o it. Allows to specify own TSAN_OPTIONS for the tests. llvm-svn: 170426 | |||||
* | tsan: describe "file descriptor" location | Dmitry Vyukov | 2012-12-18 | 1 | -0/+33 | |
| | | | | llvm-svn: 170417 | |||||
* | tsan: say what thread had created a thread in reports | Dmitry Vyukov | 2012-12-17 | 3 | -4/+4 | |
| | | | | llvm-svn: 170346 | |||||
* | tsan: synchronize connect->accept calls | Dmitry Vyukov | 2012-12-14 | 2 | -2/+46 | |
| | | | | llvm-svn: 170235 | |||||
* | tsan: add test for errno spoiling in signal handler | Dmitry Vyukov | 2012-12-14 | 1 | -0/+42 | |
| | | | | llvm-svn: 170207 | |||||
* | tsan: add test for malloc/free in signal handler | Dmitry Vyukov | 2012-12-14 | 1 | -0/+26 | |
| | | | | llvm-svn: 170205 | |||||
* | tsan: add socketpair() interceptor and test | Dmitry Vyukov | 2012-12-14 | 1 | -0/+36 | |
| | | | | llvm-svn: 170184 | |||||
* | tsan: more precise handling of IO synchronization | Dmitry Vyukov | 2012-12-12 | 1 | -0/+33 | |
| | | | | llvm-svn: 169970 | |||||
* | tsan: more fd interceptors + bug fixes + tests | Dmitry Vyukov | 2012-12-07 | 4 | -2/+126 | |
| | | | | llvm-svn: 169621 | |||||
* | tsan: fix pipe interceptors and add 2 tests | Dmitry Vyukov | 2012-12-07 | 2 | -0/+69 | |
| | | | | llvm-svn: 169607 | |||||
* | tsan: deflake output tests (by increasing sleeps) | Dmitry Vyukov | 2012-12-07 | 22 | -23/+23 | |
| | | | | llvm-svn: 169592 | |||||
* | tsan: fix lint warning and make output tests more robust | Dmitry Vyukov | 2012-12-06 | 8 | -22/+28 | |
| | | | | llvm-svn: 169511 | |||||
* | tsan: add mutexsets to reports | Dmitry Vyukov | 2012-12-06 | 19 | -24/+362 | |
| | | | | | | With this change reports say what mutexes the threads hold around the racy memory accesses. llvm-svn: 169493 | |||||
* | tsan: output thread names | Dmitry Vyukov | 2012-12-04 | 1 | -0/+34 | |
| | | | | llvm-svn: 169279 | |||||
* | [TSan] use llvm-symbolizer to run tsan tests | Alexey Samsonov | 2012-11-16 | 4 | -3/+27 | |
| | | | | llvm-svn: 168146 | |||||
* | [TSan] Add output test for write under reader lock | Alexey Samsonov | 2012-11-13 | 1 | -0/+35 | |
| | | | | llvm-svn: 167833 | |||||
* | tsan: fix compiler warning | Dmitry Vyukov | 2012-11-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 167458 | |||||
* | Update compiler-rt tests to match flag renaming/deprecation in Clang. | Richard Smith | 2012-11-06 | 2 | -3/+3 | |
| | | | | llvm-svn: 167434 | |||||
* | Flag -ccc-clang-cxx was removed in r166986, remove it from compiler-rt lit ↵ | Alexey Samsonov | 2012-10-30 | 1 | -1/+1 | |
| | | | | | | configs llvm-svn: 167010 | |||||
* | tsan: output tid's in reports | Dmitry Vyukov | 2012-10-02 | 3 | -3/+3 | |
| | | | | llvm-svn: 164998 | |||||
* | tsan: run output tests in parallel | Dmitry Vyukov | 2012-10-02 | 1 | -2/+4 | |
| | | | | llvm-svn: 164997 | |||||
* | [TSan] one more attempt to fix sleep_sync test: call sleep in the spawned ↵ | Alexey Samsonov | 2012-09-24 | 1 | -7/+6 | |
| | | | | | | thread so that sleep-synchronization will be detected even if child thread is started late. llvm-svn: 164488 | |||||
* | [TSan] increase sleep time in test to ensure correct event ordering | Alexey Samsonov | 2012-09-24 | 1 | -2/+1 | |
| | | | | llvm-svn: 164483 | |||||
* | [TSan] s/uintptr_t/intptr_t in TSan test and enforce stack size limit in one ↵ | Alexey Samsonov | 2012-09-18 | 1 | -0/+2 | |
| | | | | | | of TSan output tests that somewhy fails otherwise llvm-svn: 164116 | |||||
* | [TSan] fix a typo in test dependencies. Silence few remaining pedantic gcc ↵ | Alexey Samsonov | 2012-09-18 | 1 | -1/+1 | |
| | | | | | | warnings in TSan tests. llvm-svn: 164115 | |||||
* | [TSan] port all output tests to lit and move them to lit_tests directory. ↵ | Alexey Samsonov | 2012-09-18 | 36 | -2/+1244 | |
| | | | | | | This makes 'make check-tsan' command test both unit and output TSan tests. Old custom makefiles for running TSan tests are still functional as well. llvm-svn: 164110 |