summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
diff options
context:
space:
mode:
authorStefan Granitz <stefan.graenitz@gmail.com>2019-07-10 11:09:29 +0000
committerStefan Granitz <stefan.graenitz@gmail.com>2019-07-10 11:09:29 +0000
commit110f97632e119d289e4bd9b5c01f0a300b8d2185 (patch)
tree8ce95b6dcb75764f7cf8d1bd3d116ea12e488b07 /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
parent05adc0f3170eb0b3e7cd4522b1a5d19e14691adf (diff)
downloadbcm5719-llvm-110f97632e119d289e4bd9b5c01f0a300b8d2185.tar.gz
bcm5719-llvm-110f97632e119d289e4bd9b5c01f0a300b8d2185.zip
[CMake] `install-distribution` for LLDB on Darwin
Summary: There's a number of requirements for installing LLDB on macOS that are untypical for LLVM projects: use special install-prefix for LLDB.framework, ship headers and tools as framework resources, patch RPATHs, externalize debug-info to dSYM's and strip binaries with `-ST`. For some of it we could use `llvm_externalize_debuginfo()` in the past and just add special cases. However, this complicates the code for all projects and comes with the major drawback, that it adds all these actions at build-time, i.e. dSYM creation and stripping take a lot of time and don't make sense at build-time. LLVM's distribution mechanism (https://llvm.org/docs/BuildingADistribution.html) appears to be the natural candidate to install LLDB. Based on D64399 (enable in standalone builds), this patch integrates framework installation with the distribution mechanism and adds custom stripping flags and dSYM creation at install-time. Unlike the abandoned D61952, it leaves build-tree binaries untouched, so there's no side-effects on testing. Potential install-order issues must be handled externally. Please let me know what you think, while I run a few more tests and add remarks+documentation. Reviewers: xiaobai, compnerd, JDevlieghere, davide, labath, mgorny Reviewed By: xiaobai, JDevlieghere Subscribers: lldb-commits, #lldb Tags: #lldb Differential Revision: https://reviews.llvm.org/D64408 llvm-svn: 365617
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud