summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/tsan/static_init6.cc
Commit message (Collapse)AuthorAgeFilesLines
* compiler-rt: Rename .cc file in test/tsan to .cppFangrui Song2019-08-021-42/+0
| | | | | | Like r367463, but for test/tsan. llvm-svn: 367656
* [compiler-rt] Build custom libcxx with libcxxabiJonas Hahnfeld2019-02-171-2/+1
| | | | | | | | | | | | | | | 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
* Fix another case where libstdc++ is being inappropriately requested (seeDan Liew2018-05-141-1/+2
| | | | | | | | | | | | | | | | | | | r328775) for all platforms. Given that this is the second occurance of this problem it seemed worth fixing this problem in a more generic way. r328775 has been reverted and now a substitution `%linux_static_libstdcplusplus` has been provided. This substitution expands to Clang driver arguments to use a static libstdc++ on Linux and on all other platforms it expands to nothing. The `asan/TestCases/throw_invoke_test.cc` and `test/tsan/static_init6.cc` test cases now use this substitution. rdar://problem/39948818 Differential Revision: https://reviews.llvm.org/D46401 llvm-svn: 332254
* [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
* [compiler-rt] Fix test failures when switching default C++ libraryJonas Hahnfeld2016-02-151-1/+1
| | | | | | | | | | 1. Add two explicit -stdlib=libstdc++ in conjunction with -static-libstdc++ 2. Pass -nostdinc++ when adding include paths for libc++ built for tsan. This prevents clang finding the headers twice which would confuse #include_next Differential Revision: http://reviews.llvm.org/D17189 llvm-svn: 260883
* Add %run to all lit testsGreg Fitzgerald2014-04-301-1/+1
| | | | llvm-svn: 207709
* Move TSan lit-tests under test/tsanAlexey Samsonov2014-02-141-0/+42
llvm-svn: 201414
OpenPOWER on IntegriCloud