Unverified Commit 64c0bddb authored by Martin Storsjö's avatar Martin Storsjö Committed by GitHub
Browse files

[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.
parent 85370b30
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment