[PATCH] D115674: [runtime] Build compiler-rt with --unwindlib=none
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 9 02:49:04 PDT 2022
mstorsjo added inline comments.
================
Comment at: compiler-rt/CMakeLists.txt:512
+ # default libunwind (which may be missing still).
+ append_list_if(CXX_SUPPORTS_UNWINDLIB_NONE_FLAG --unwindlib=none SANITIZER_COMMON_LINK_FLAGS)
+
----------------
I presume we should only do this if we actually know we're linking against a libunwind that is built in the same cmake invocation, i.e. either of the `TARGET unwind_* OR HAVE_LIBUNWIND` cases below, otherwise this does break things.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115674/new/
https://reviews.llvm.org/D115674
More information about the llvm-commits
mailing list