[PATCH] D60285: Make calls into the pthread library use weak symbols.

Louis Dionne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 9 12:19:46 PDT 2019


ldionne added inline comments.


================
Comment at: libunwind/src/CMakeLists.txt:70
   unwind_append_if(libraries LIBUNWIND_HAS_PTHREAD_LIB pthread)
+  unwind_append_if(LIBUNWIND_COMPILE_FLAGS LIBUNWIND_WEAK_PTHREAD_LIB -DLIBUNWIND_USE_WEAK_PTHREAD=1)
 endif()
----------------
This is not an existing CMake option, is it? You should add it.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60285/new/

https://reviews.llvm.org/D60285





More information about the llvm-commits mailing list