[all-commits] [llvm/llvm-project] 64c0bd: [compiler-rt] Check for and use -lunwind when link...
Martin Storsjö via All-commits
all-commits at lists.llvm.org
Fri Sep 15 01:49:59 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 64c0bddb7639dd4bfad73fbbc909ca739b84aa10
https://github.com/llvm/llvm-project/commit/64c0bddb7639dd4bfad73fbbc909ca739b84aa10
Author: Martin Storsjö <martin at martin.st>
Date: 2023-09-15 (Fri, 15 Sep 2023)
Changed paths:
M compiler-rt/cmake/config-ix.cmake
Log Message:
-----------
[compiler-rt] Check for and use -lunwind when linking with -nodefaultlibs (#65912)
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.
More information about the All-commits
mailing list