diff options
author | Martin Storsjö <martin@martin.st> | 2023-10-05 11:41:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-05 11:41:11 +0300 |
commit | 7c5e4e5fa3a948fc662be3a6bf057021d32f72e6 (patch) | |
tree | eb0a20ddbcc4466377e2d24b499ff366ea0f74ae /clang/unittests/Basic/SourceManagerTest.cpp | |
parent | 26bb22b0c89e9b27576fd1f5683e0bc9ac3b4ec9 (diff) | |
download | llvm-7c5e4e5fa3a948fc662be3a6bf057021d32f72e6.zip llvm-7c5e4e5fa3a948fc662be3a6bf057021d32f72e6.tar.gz llvm-7c5e4e5fa3a948fc662be3a6bf057021d32f72e6.tar.bz2 |
Reapply [compiler-rt] Check for and use -lunwind when linking with -nodefaultlibs (#66584)
If libc++ is available and should be used as the ubsan C++ ABI library,
the check for libc++ might fail if libc++ is a static library, as the
-nodefaultlibs flag inhibits a potential compiler default -lunwind.
Just like the -nodefaultlibs configuration tests for and manually adds a
bunch of compiler default libraries, look for -lunwind too.
This is a reland of #65912.
Diffstat (limited to 'clang/unittests/Basic/SourceManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions