summaryrefslogtreecommitdiffstats
path: root/lldb/docs
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2018-01-18 01:16:30 +0000
committerVedant Kumar <vsk@apple.com>2018-01-18 01:16:30 +0000
commit3c3345be1bf4c706bc7f44e4fa91342bdc91f4b1 (patch)
tree6509a1b849b15e81642bfcb8865423b97d99c43c /lldb/docs
parent53b3855b2ba2a35f9006c75ccc1f7601cb15f079 (diff)
downloadbcm5719-llvm-3c3345be1bf4c706bc7f44e4fa91342bdc91f4b1.tar.gz
bcm5719-llvm-3c3345be1bf4c706bc7f44e4fa91342bdc91f4b1.zip
[CMake] Make check-lldb work with LLDB_CODESIGN_IDENTITY=''
On Darwin, if a test machine isn't set up for code-signing (see docs/code-signing.txt), running check-lldb should use the system debugserver instead of the unsigned one built in-tree. This makes it possible to run lldb's test suite without having code-signing set up, which is really convenient. Differential Revision: https://reviews.llvm.org/D42215 llvm-svn: 322803
Diffstat (limited to 'lldb/docs')
-rw-r--r--lldb/docs/code-signing.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/lldb/docs/code-signing.txt b/lldb/docs/code-signing.txt
index 5407fd4bb42..3da3a8085e6 100644
--- a/lldb/docs/code-signing.txt
+++ b/lldb/docs/code-signing.txt
@@ -1,6 +1,11 @@
-On MacOSX lldb needs to be code signed. The Debug, DebugClang and Release
-builds are set to code sign using a code signing certificate named
-"lldb_codesign".
+To use the in-tree debug server on macOS, lldb needs to be code signed. The
+Debug, DebugClang and Release builds are set to code sign using a code signing
+certificate named "lldb_codesign". This document explains how to set up the
+signing certificate.
+
+Note that it's possible to build and use lldb on macOS without setting up code
+signing by using the system's debug server. To configure lldb in this way with
+cmake, specify -DLLDB_CODESIGN_IDENTITY=''.
If you have re-installed a new OS, please delete all old lldb_codesign items
from your keychain. There will be a code signing certification and a public
OpenPOWER on IntegriCloud