llvm-project/lldb
Jonas Devlieghere 45e598d135 [CMake] Update CMAKE_OSX_DEPLOYMENT_TARGET to 10.12.
After LLVM moved to C++14, the RWMutex implementation was removed in
favor of std::shared_timed_mutex, which is only available on macOS
10.12 and later. As a workaround for older deployment targets, I added
   the original RWMutexImpl again, guarded by the deployment target.

When doing a standalone build of LLDB using the Xcode generator, the
CMake cache specifies a minimum deployment target. However, LLVM and
Clang might have been built with a different minimum deployment target.

This is exactly what happened for the Xcode build. LLVM was built with a
minimum deployment target newer than 10.12, using
std::shared_timed_mutex. LLDB on the other hand was built with a minimum
deployment target of 10.11, using the old RWMutexImpl, resulting in
undefined symbols at link-time.

This patch changes the minimum deployment target for the Xcode build to
10.12 to work around this problem. A better solution would involve
synchronizing the minimum deployment or even not setting one at all.

llvm-svn: 369220
2019-08-18 21:54:26 +00:00
..
cmake [CMake] Update CMAKE_OSX_DEPLOYMENT_TARGET to 10.12. 2019-08-18 21:54:26 +00:00
docs [Docs] Fix (incorrect) code highlighting 2019-08-07 23:12:40 +00:00
examples [Symbolication] Remove some dead code. Nothing exciting. 2019-07-29 21:25:51 +00:00
include/lldb [Utility] Reimplement RegularExpression on top of llvm::Regex 2019-08-16 21:25:36 +00:00
lit Revert "Minidump/Windows: Fix module lookup" 2019-08-14 12:26:51 +00:00
packages/Python/lldbsuite Stop-hooks weren't getting called on step-out. Fix that. 2019-08-15 21:37:52 +00:00
resources [CMake] Revised LLDB.framework builds 2019-01-04 12:46:50 +00:00
scripts [lldb] Remove Xcode project legacy 2019-07-24 09:20:14 +00:00
source [lldb][NFC] Remove unused MaterializeInitializer and MaterializeInternalVariable 2019-08-17 21:57:51 +00:00
test [dotest] Remove multiprocessing 2019-07-30 16:42:47 +00:00
third_party/Python/module Initial support for native debugging of x86/x64 Windows processes 2019-08-13 22:18:01 +00:00
tools [LLDB] Migrate llvm::make_unique to std::make_unique 2019-08-14 22:19:23 +00:00
unittests [Utility] Reimplement RegularExpression on top of llvm::Regex 2019-08-16 21:25:36 +00:00
utils [TableGen] Move helpers into LLDBTableGenUtils. 2019-07-31 00:47:00 +00:00
.arcconfig
.clang-format
.gitignore Add .noindex to the gitignore 2019-04-05 17:57:42 +00:00
CMakeLists.txt [lldb] Let LLDB depend on intrinsics_gen to fix non-deterministic module build failures 2019-08-15 07:29:53 +00:00
CODE_OWNERS.txt [lldb][NFC] Cleanup mentions and code related to lldb-mi 2019-07-19 15:55:23 +00:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
use_lldb_suite_root.py