summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/throw_invoke_test.cc
AgeCommit message (Collapse)Author
2018-05-14Fix another case where libstdc++ is being inappropriately requested (seeDan Liew
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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@332254 91177308-0d34-0410-b5e6-96231b3b80d8
2018-03-29[asan] Split the `throw_invoke_test.cc` into a Linux specific variantDan Liew
and the general version to avoid use of libstdc++ on non-Linux platforms. This is motivated by the fact that using `libstdc++` is deprecated on Darwin and maybe removed some day. Differential Revision: https://reviews.llvm.org/D44733 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@328775 91177308-0d34-0410-b5e6-96231b3b80d8
2016-02-18Clang on Windows supports exceptions, un XFAIL the passing testsReid Kleckner
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@261236 91177308-0d34-0410-b5e6-96231b3b80d8
2016-02-15[compiler-rt] Fix test failures when switching default C++ libraryJonas Hahnfeld
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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@260883 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-28[ASan tests] Exclude some tests from Windows runsTimur Iskhodzhanov
Some features are not supported yet and some are not planned to be fixed soon git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209733 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-30Add %run to all lit testsGreg Fitzgerald
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207709 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-14Move ASan lit-tests under test/asanAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201413 91177308-0d34-0410-b5e6-96231b3b80d8