summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/tsan/Linux
Commit message (Collapse)AuthorAgeFilesLines
* compiler-rt: Rename .cc file in test/tsan to .cppFangrui Song2019-08-027-1/+1
| | | | | | Like r367463, but for test/tsan. llvm-svn: 367656
* compiler-rt: Rename .cc file in lib/tsan/rtl to .cppNico Weber2019-08-011-1/+1
| | | | | | Like r367463, but for tsan/rtl. llvm-svn: 367564
* [compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.*Reid Kleckner2019-06-271-0/+0
| | | | | | | | | | | | | These lit configuration files are really Python source code. Using the .py file extension helps editors and tools use the correct language mode. LLVM and Clang already use this convention for lit configuration, this change simply applies it to all of compiler-rt. Reviewers: vitalybuka, dberris Differential Revision: https://reviews.llvm.org/D63658 llvm-svn: 364591
* [tsan] Fix and re-enable user_malloc.cc testVitaly Buka2019-05-011-9/+9
| | | | | | | | | | | | | | Summary: no_sanitize_thread is not enough as it still puts some tsan instrumentation Reviewers: eugenis Subscribers: kubamracek, #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D61393 llvm-svn: 359731
* [compiler-rt] Build custom libcxx with libcxxabiJonas Hahnfeld2019-02-171-3/+3
| | | | | | | | | | | | | | | This changes add_custom_libcxx to also build libcxxabi and merges the two into a static and hermetic library. There are multiple advantages: 1) The resulting libFuzzer doesn't expose C++ internals and looks like a plain C library. 2) We don't have to manually link in libstdc++ to provide cxxabi. 3) The sanitizer tests cannot interfere with an installed version of libc++.so in LD_LIBRARY_PATH. Differential Revision: https://reviews.llvm.org/D58013 llvm-svn: 354212
* tsan: add pthread_tryjoin_np and pthread_timedjoin_np interceptorsDmitry Vyukov2018-11-212-0/+80
| | | | | | | | | | Add pthread_tryjoin_np() and pthread_timedjoin_np() interceptors on Linux, so that ThreadSanitizer can handle programs using these functions. Author: Yuri Per (yuri) Reviewed in: https://reviews.llvm.org/D54521 llvm-svn: 347383
* [tsan] Disable user_malloc test which fails glibc 2.24Vitaly Buka2017-09-121-0/+7
| | | | llvm-svn: 313069
* tsan: fix darwin buildDmitry Vyukov2017-08-251-0/+52
| | | | | | | | Runtime hooks do not seem to work on darwin. The test failed on builder: http://lab.llvm.org:8080/green/job/clang-stage1-configure-RA_check/34882/consoleFull#7286766538254eaf0-7326-4999-85b0-388101f2d404 Move the test to Linux dir. llvm-svn: 311776
* [tsan] Disable test with debug runtimeVitaly Buka2017-07-161-0/+2
| | | | | | Test expects at least -O1 compiled runtime. llvm-svn: 308121
* tsan: fix pie_no_aslr testDmitry Vyukov2017-03-211-0/+1
| | | | | | | It failed on clang-cmake-aarch64-39vma. Restrict it to x86_64 only. llvm-svn: 298383
* tsan: add test for pie/no aslrDmitry Vyukov2017-03-211-0/+5
| | | | | | Just ensure that such combination works. llvm-svn: 298372
* [powerpc] deactivate user_malloc.cc tsan test on powerpc64leBill Seurer2017-02-021-0/+1
| | | | | | | | This test fails consistently on Ubuntu 16.xx powerpc64 LE systems. The cause is being investigated and in the meantime disable it so the buildbots can run cleanly. llvm-svn: 293939
* Init tsan with .preinit_array sectionVitaly Buka2016-05-261-0/+60
| | | | | | | | | | | | Summary: Some libraries, like OpenSSL, runs code from .init section. Reviewers: kcc, eugenis Subscribers: kubabrecka, llvm-commits Differential Revision: http://reviews.llvm.org/D20646 llvm-svn: 270873
* [TSAN] Make tsan tests more portable (take 3)Renato Golin2016-04-151-1/+1
| | | | | | | | Some tests didn't merge stderr with stdout. Patch by Maxim Kuvyrkov. llvm-svn: 266426
* Revert "Make tsan tests more portable (take 2)"Renato Golin2016-04-141-1/+1
| | | | | | This reverts commit r266294, as it broke some buildbots again. :/ llvm-svn: 266300
* Make tsan tests more portable (take 2)Renato Golin2016-04-141-1/+1
| | | | | | | | | Using stderr more uniformily, avoiding potential races when scanning stdout and stderr output. Patch by Maxim Kuvyrkov. llvm-svn: 266294
* Revert "[RT] Make tsan tests more portable"Renato Golin2016-03-021-1/+1
| | | | | | This reverts commit r262476, as it broken the AArch64 VMA42 buildbot. llvm-svn: 262479
* [RT] Make tsan tests more portableRenato Golin2016-03-021-1/+1
| | | | | | | | by avoiding potential races when scanning stdout and stderr output. Patch by Maxim Kuvyrkov. llvm-svn: 262476
* [TSan] Use llvm-objdump+FileCheck instead of standalone .sh script.Alexey Samsonov2015-12-072-27/+5
| | | | llvm-svn: 254959
* [TSan] Port check_memcpy.sh script to a regular lit test.Alexey Samsonov2015-12-072-0/+37
| | | | | | | | | | | Check that TSan runtime doesn't contain compiler-inserted calls to memset/memmove functions. In future, we may consider moving this test to test/sanitizer_common, as we don't want to have compiler-inserted memcpy/memmove calls in any sanitizer runtime. llvm-svn: 254955
* [Tsan] Make the mutex_robust tests Linux-specificViktor Kutuzov2014-10-152-0/+77
| | | | | | Differential Revision: http://reviews.llvm.org/D5729 llvm-svn: 219790
* [Tsan] Fix comments in the user_fopen.cc and user_malloc.cc testsViktor Kutuzov2014-10-102-2/+2
| | | | | | Related revision: http://reviews.llvm.org/D5670 llvm-svn: 219481
* [Tsan] Make the user_fopen.cc and user_malloc.cc tests Linux-specificViktor Kutuzov2014-10-103-0/+70
Differential Revision: http://reviews.llvm.org/D5670 llvm-svn: 219478
OpenPOWER on IntegriCloud