llvm-project/lldb
Stefan Granitz 0c4948455d [CMake] Always build debugserver on Darwin and allow tests to use the system's one
Summary:
We can always build debugserver, but we can't always sign it to be useable for testing. `LLDB_USE_SYSTEM_DEBUGSERVER` should only tell whether or not the system debugserver should be used for testing.
The old behavior complicated the logic around debugserver a lot. The new logic sorts out most of it.

Please note that this patch is in early stage and needs some more testing. It should not affect platfroms other than Darwin. It builds on Davide's approach to validate the code-signing identity at configuration time.

What do you think?

Reviewers: xiaobai, JDevlieghere, davide, compnerd, friss, labath, mgorny, jasonmolenda

Reviewed By: JDevlieghere

Subscribers: lldb-commits, #lldb

Tags: #lldb

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

llvm-svn: 366433
2019-07-18 13:30:37 +00:00
..
cmake [CMake] Always build debugserver on Darwin and allow tests to use the system's one 2019-07-18 13:30:37 +00:00
docs [docs] Adjust variable formatting table 2019-07-17 19:49:01 +00:00
examples [crashlog] Fix a mismatch between bytes and strings. 2019-07-09 01:05:12 +00:00
include/lldb [Symbol] Remove unused fields from ClangASTContext 2019-07-16 21:05:08 +00:00
lit ObjectFileELF: Add support for gnu-style compressed sections 2019-07-10 16:10:43 +00:00
lldb.xcodeproj Update some file changes, but there's a dependency loop so 2019-07-15 23:55:22 +00:00
lldb.xcworkspace Remove lldb-perf 2019-07-08 21:38:34 +00:00
packages/Python/lldbsuite Ah, forgot a debug line I left in the dsym-for-uuid.sh script 2019-07-17 21:55:39 +00:00
resources [CMake] Revised LLDB.framework builds 2019-01-04 12:46:50 +00:00
scripts Revert "[swig] Add workaround for old swig" 2019-07-16 15:54:33 +00:00
source [lldb][NFC] Format 'type' commands in Options.td 2019-07-18 11:43:45 +00:00
test [CMake] Always build debugserver on Darwin and allow tests to use the system's one 2019-07-18 13:30:37 +00:00
third_party/Python/module [lldb/thirdparty] Remove unneeded files, asked by Jonas. 2019-03-12 20:41:36 +00:00
tools [CMake] Always build debugserver on Darwin and allow tests to use the system's one 2019-07-18 13:30:37 +00:00
unittests [CMake] Always build debugserver on Darwin and allow tests to use the system's one 2019-07-18 13:30:37 +00:00
utils [lldb] Don't double emit option groups 2019-07-18 08:22:11 +00:00
.arcconfig
.clang-format
.gitignore Add .noindex to the gitignore 2019-04-05 17:57:42 +00:00
CMakeLists.txt [CMake] Always build debugserver on Darwin and allow tests to use the system's one 2019-07-18 13:30:37 +00:00
CODE_OWNERS.txt Fix/unify the spelling of Objective-C. 2018-06-13 16:21:24 +00:00
INSTALL.txt Fix build URL in new LLDB website 2019-05-01 09:55:00 +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