[PATCH] D54476: [CMake] Streamline code signing for debugserver

Stefan Gränitz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 13 07:40:55 PST 2018


sgraenitz created this revision.
sgraenitz added reviewers: xiaobai, beanz, vsk, JDevlieghere.
Herald added a subscriber: mgorny.

Use llvm_codesign to sign debugserver with entitlements. Make individual cases more explicit:

- default: build debugserver and sign with entitlements
- LLDB_NO_DEBUGSERVER: no debugserver in binaries, no path provided for tests
- LLVM_CODESIGNING_IDENTITY empty == LLDB_USE_SYSTEM_DEBUGSERVER:
  - on Darwin: copy system binary; skip debugserver tests, but provide path for other tests
  - on other platforms: same as LLDB_NO_DEBUGSERVER


https://reviews.llvm.org/D54476

Files:
  test/CMakeLists.txt
  tools/debugserver/CMakeLists.txt
  tools/debugserver/source/CMakeLists.txt
  unittests/tools/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54476.173854.patch
Type: text/x-patch
Size: 9047 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181113/b763db42/attachment.bin>


More information about the llvm-commits mailing list