[all-commits] [llvm/llvm-project] 7c5e4e: Reapply [compiler-rt] Check for and use -lunwind w...
Martin Storsjö via All-commits
all-commits at lists.llvm.org
Thu Oct 5 01:41:24 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7c5e4e5fa3a948fc662be3a6bf057021d32f72e6
https://github.com/llvm/llvm-project/commit/7c5e4e5fa3a948fc662be3a6bf057021d32f72e6
Author: Martin Storsjö <martin at martin.st>
Date: 2023-10-05 (Thu, 05 Oct 2023)
Changed paths:
M compiler-rt/cmake/config-ix.cmake
Log Message:
-----------
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.
More information about the All-commits
mailing list