summaryrefslogtreecommitdiffstats
path: root/clang/unittests/AST/ASTImporterTest.cpp
diff options
context:
space:
mode:
authorDan Liew <dan@su-root.co.uk>2018-05-14 15:48:49 +0000
committerDan Liew <dan@su-root.co.uk>2018-05-14 15:48:49 +0000
commitfe7250c2fa398e7b81ac8874bc5d4a8618885283 (patch)
tree82cc14f1e6fee54c3b5b3583649d2dc7a039d387 /clang/unittests/AST/ASTImporterTest.cpp
parent421a5960d2a990cdef69dc0c345137a58c214548 (diff)
downloadbcm5719-llvm-fe7250c2fa398e7b81ac8874bc5d4a8618885283.tar.gz
bcm5719-llvm-fe7250c2fa398e7b81ac8874bc5d4a8618885283.zip
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
Diffstat (limited to 'clang/unittests/AST/ASTImporterTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud