If we attempt to use unwind_shared when LIBUNWIND_ENABLE_SHARED is OFF,
we'll get link errors. LIBCXXABI_STATICALLY_LINK_UNWINDER_IN_SHARED_LIBRARY
avoids that, but it seems redundant to have to specify it manually.
Automatically switch libunwind statically when its shared build is
disabled, which also matches compiler-rt [1].
Details
Details
- Reviewers
phosek - Group Reviewers
Restricted Project - Commits
- rG3789c236bbda: [libcxxabi] Automatically use static libunwind when required
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo