Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | tsan: remember when we are inside of symbolizer code (required for inprocess ↵ | Dmitry Vyukov | 2013-01-29 | 2 | -0/+18 | |
| | | | | | | symbolizer) llvm-svn: 173796 | |||||
* | tsan: add IsSymbolizerAvailable() function for querying for presence of ↵ | Dmitry Vyukov | 2013-01-29 | 1 | -24/+23 | |
| | | | | | | internal/external symbolizer llvm-svn: 173783 | |||||
* | tsan: add interceptor stubs for stat family of functions | Dmitry Vyukov | 2013-01-29 | 3 | -0/+96 | |
| | | | | llvm-svn: 173782 | |||||
* | [sanitizer] fix calloc overflow in asan/tsan/msan | Kostya Serebryany | 2013-01-25 | 2 | -0/+11 | |
| | | | | llvm-svn: 173441 | |||||
* | tsan: return the old fake numbers from malloc stats (some code already ↵ | Dmitry Vyukov | 2013-01-24 | 1 | -2/+2 | |
| | | | | | | depends on them) llvm-svn: 173348 | |||||
* | tsan: suppress reports using both stacks | Dmitry Vyukov | 2013-01-24 | 2 | -13/+17 | |
| | | | | llvm-svn: 173346 | |||||
* | tsan: allow a front-end to provide default suppressions | Dmitry Vyukov | 2013-01-24 | 3 | -10/+21 | |
| | | | | llvm-svn: 173345 | |||||
* | tsan: implement malloc stats querying | Dmitry Vyukov | 2013-01-24 | 5 | -12/+83 | |
| | | | | llvm-svn: 173332 | |||||
* | tsan: also test asan during presubmit checks, because sanitizer_common ↵ | Dmitry Vyukov | 2013-01-24 | 1 | -1/+1 | |
| | | | | | | changes can affect it llvm-svn: 173327 | |||||
* | tsan: add stubs for malloc introspection (similar to what we have in asan) | Dmitry Vyukov | 2013-01-23 | 1 | -0/+32 | |
| | | | | llvm-svn: 173255 | |||||
* | [tsan] fix thread_name.cc test to work with older versions of libc | Kostya Serebryany | 2013-01-21 | 1 | -0/+4 | |
| | | | | llvm-svn: 173023 | |||||
* | CMake: use add_compiler_rt_static_runtime to build TSan and MSan runtimes. ↵ | Alexey Samsonov | 2013-01-20 | 1 | -18/+9 | |
| | | | | | | No functionality change. llvm-svn: 172978 | |||||
* | [sanitizer] lint | Evgeniy Stepanov | 2013-01-18 | 1 | -1/+2 | |
| | | | | llvm-svn: 172817 | |||||
* | [sanitizer] Rename 2 files *.h->*.inc as appropriate. | Evgeniy Stepanov | 2013-01-18 | 1 | -1/+1 | |
| | | | | | | Also add a missing include. llvm-svn: 172814 | |||||
* | CMake variables renaming: X86_64->x86_64 I386->i386 | Alexey Samsonov | 2013-01-18 | 2 | -3/+3 | |
| | | | | llvm-svn: 172812 | |||||
* | [sanitizer] Common *scanf interceptors. | Evgeniy Stepanov | 2013-01-18 | 3 | -9/+36 | |
| | | | | llvm-svn: 172805 | |||||
* | [sanitizer] reapply r172719, r172721-172723, r172725, and also fix the ↵ | Kostya Serebryany | 2013-01-18 | 4 | -30/+5 | |
| | | | | | | warning on Mac. llvm-svn: 172791 | |||||
* | Revert r172719, r172721-172723, and r172725. | Jakob Stoklund Olesen | 2013-01-17 | 5 | -44/+30 | |
| | | | | | | | | | | | | | | | | | | 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 | 2 | -27/+39 | |
| | | | | llvm-svn: 172722 | |||||
* | [tsan] move prctl interceptor from asan to common_interceptors thus enabling ↵ | Kostya Serebryany | 2013-01-17 | 4 | -3/+5 | |
| | | | | | | it for tsan too llvm-svn: 172719 | |||||
* | [tsan] add write_range/read_range hooks to common interceptors called from ↵ | Kostya Serebryany | 2013-01-17 | 2 | -2/+36 | |
| | | | | | | tsan (to find races on read/pread/etc) llvm-svn: 172714 | |||||
* | [sanitizer] a bit more unification for interceptors (merge ↵ | Kostya Serebryany | 2013-01-17 | 2 | -30/+11 | |
| | | | | | | read/pread/pread64 in asan and tsan) llvm-svn: 172713 | |||||
* | tsan: describe stack and TLS addresses | Dmitry Vyukov | 2013-01-14 | 11 | -14/+139 | |
| | | | | llvm-svn: 172393 | |||||
* | asan/tsan: move blocking mutex from asan to sanitizer_common | Dmitry Vyukov | 2013-01-14 | 2 | -2/+2 | |
| | | | | llvm-svn: 172380 | |||||
* | tsan: fix compiler warning | Dmitry Vyukov | 2013-01-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 172191 | |||||
* | tsan: symbolize global variables | Dmitry Vyukov | 2013-01-11 | 6 | -40/+62 | |
| | | | | llvm-svn: 172181 | |||||
* | tsan: add check for invalid fd | Dmitry Vyukov | 2013-01-10 | 1 | -1/+2 | |
| | | | | llvm-svn: 172060 | |||||
* | tsan: detect races on fd passed to epoll_ctl | Dmitry Vyukov | 2013-01-09 | 3 | -0/+8 | |
| | | | | llvm-svn: 171981 | |||||
* | tsan: fix crash when user defines own fopen/fileno | Dmitry Vyukov | 2013-01-09 | 5 | -24/+24 | |
| | | | | llvm-svn: 171967 | |||||
* | tsan: fix crash when user defines own fopen/fileno | Dmitry Vyukov | 2013-01-09 | 5 | -5/+73 | |
| | | | | 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 | |||||
* | [asan/tsan] when unmapping a chunk of user memory, apply ↵ | Kostya Serebryany | 2012-12-27 | 2 | -4/+14 | |
| | | | | | | madvise(MADV_DONTNEED) to the corresponding chunk of shadow memory. Also update sanitizer_allocator64_testlib.cc llvm-svn: 171144 | |||||
* | tsan: fix the code that searches for heap memory block metadata | Dmitry Vyukov | 2012-12-25 | 1 | -2/+2 | |
| | | | | | | (the old code won't work with new allocator) llvm-svn: 171054 | |||||
* | tsan: work around FileCheck feature that it does not accept empty input | Dmitry Vyukov | 2012-12-24 | 12 | -4/+11 | |
| | | | | llvm-svn: 171034 | |||||
* | tsan: remove static reference to glibc internal _dl_get_tls_static_info() | Dmitry Vyukov | 2012-12-24 | 1 | -9/+5 | |
| | | | | | | (this breaks RPM packages) llvm-svn: 171033 | |||||
* | tsan: more defensive file descriptor verification | Dmitry Vyukov | 2012-12-24 | 2 | -27/+34 | |
| | | | | | | 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 | 3 | -11/+78 | |
| | | | | llvm-svn: 170891 | |||||
* | tsan: less debug output | Dmitry Vyukov | 2012-12-21 | 2 | -5/+5 | |
| | | | | llvm-svn: 170889 | |||||
* | tsan: update mutex lock table for java | Dmitry Vyukov | 2012-12-21 | 1 | -0/+46 | |
| | | | | llvm-svn: 170885 | |||||
* | tsan: update mutex table for java | Dmitry Vyukov | 2012-12-21 | 5 | -17/+18 | |
| | | | | llvm-svn: 170884 | |||||
* | tsan: java: move shadow memory on GC compaction | Dmitry Vyukov | 2012-12-21 | 1 | -7/+28 | |
| | | | | llvm-svn: 170882 | |||||
* | tsan: add a high-level comment to tsan_interface_java.h | Dmitry Vyukov | 2012-12-21 | 1 | -0/+11 | |
| | | | | llvm-svn: 170881 | |||||
* | tsan: fix lint warnings | Dmitry Vyukov | 2012-12-21 | 1 | -3/+4 | |
| | | | | llvm-svn: 170877 |