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
..
2015-01-21 13:50:02 +00:00
2016-11-11 23:25:09 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2014-04-30 21:34:17 +00:00
2017-07-10 15:19:14 +00:00
2014-04-30 21:34:17 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2015-04-20 10:35:21 +00:00
2015-04-28 18:08:42 +00:00
2014-07-14 15:52:33 +00:00
2015-01-21 13:50:02 +00:00
2016-02-17 20:40:10 +00:00
2016-05-06 19:35:22 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2018-01-29 15:10:22 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2018-01-29 15:10:22 +00:00
2017-11-16 17:54:14 +00:00