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

Martin Storsjö via Phabricator reviews at reviews.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)
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.

  rUNW libunwind


More information about the libcxx-commits mailing list