llvm-project/compiler-rt/test/asan
Dan Liew fe7250c2fa Fix another case where libstdc++ is being inappropriately requested (see
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
2018-05-14 15:48:49 +00:00
..
TestCases Fix another case where libstdc++ is being inappropriately requested (see 2018-05-14 15:48:49 +00:00
Unit [lit] Limit parallelism of sanitizer tests on Darwin [compiler-rt part, take 2] 2017-01-20 00:25:01 +00:00
CMakeLists.txt [asan] Add "arm64" into the list of 64-bit architectures 2018-02-15 22:14:36 +00:00
lit.cfg Enable test/asan for NetBSD 2018-02-15 14:59:59 +00:00
lit.site.cfg.in [sanitizer] Move android_commoands from asan into sanitizer_common 2017-09-16 05:13:56 +00:00