Add a new LIBUNWIND_WEAK_PTHREAD Cmake option to force
authorSterling Augustine <saugustine@google.com>
Mon, 13 May 2019 18:45:03 +0000 (18:45 +0000)
committerSterling Augustine <saugustine@google.com>
Mon, 13 May 2019 18:45:03 +0000 (18:45 +0000)
commit7981a28d9d303e9e209c16cb2749bc6f47a5b521
tree471b30f59a101ee965da6017da28edf12476de42
parent79b2828b3f8fb375a250394c0a70b20064f7e4c6
Add a new LIBUNWIND_WEAK_PTHREAD Cmake option to force
calls into the pthread library use weak symbols.

This option allows libpthread to be a weak dependency rather
than a hard one.

Differential Revision: https://reviews.llvm.org/D60285

llvm-svn: 360610
libunwind/CMakeLists.txt
libunwind/src/CMakeLists.txt
libunwind/src/RWMutex.hpp