[llvm] [lld] [libcxxabi] [clang] [libcxx] [mlir] [openmp] [compiler-rt] [runtimes] Use LLVM libunwind from libc++abi by default (PR #77687)

Shoaib Meenai via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 11 14:12:41 PST 2024


================
@@ -22,6 +22,9 @@ set(LIBCXX_ENABLE_ABI_LINKER_SCRIPT OFF CACHE BOOL "")
 set(LIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY ON CACHE BOOL "")
 set(LIBCXXABI_ENABLE_SHARED OFF CACHE BOOL "")
 
+# Android uses its own unwinder library
+set(LIBCXXABI_USE_LLVM_UNWINDER OFF CACHE BOOL "")
----------------
smeenai wrote:

Hmm. The Android runtime unwinder is also LLVM libunwind; is there any harm in building and using our own instead of the NDK's? CC @rprichard 

https://github.com/llvm/llvm-project/pull/77687


More information about the llvm-commits mailing list