JJonas Devlieghere[lldb] Disable modules in Apple-lldb-base
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[CMake] Add Apple-lldb-Linux.cmake cache llvm-svn: 365649 | 6 年前 | |
[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 | 6 年前 | |
[lldb] Disable modules in Apple-lldb-base The LLDB website recommends using the CMake caches to build on macOS. Although modules result in a faster build, this configuration tends to break occasionally because it's specific to our platform. I don't expect newcomers to be able to deal with those kind of breakages so don't enable them by default. | 4 年前 | |
[lldb] Don't strip LLDB.framework on install The framework build will run dsymutil after LLDB.framework is installed. | 5 年前 |