[PATCH] D51657: [CMake] Link to compiler-rt if LIBUNWIND_USE_COMPILER_RT is ON.

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 24 13:44:09 PDT 2018


mstorsjo added inline comments.


================
Comment at: src/CMakeLists.txt:60
+  append_if(libraries LIBUNWIND_HAS_GCC_S_LIB gcc_s)
+  list(APPEND libraries gcc)
+endif()
----------------
I'm a little suspicious of this line, of forcibly linking against libgcc here, even if we might not have checked that it even exists.


Repository:
  rUNW libunwind

https://reviews.llvm.org/D51657





More information about the cfe-commits mailing list