[Lldb-commits] [PATCH] D65566: [lldb][CMake] Workaround debugserver code-signing issue in generated Xcode project

Stefan Gränitz via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 2 05:02:53 PDT 2019

sgraenitz added a comment.

In D65566#1611007 <https://reviews.llvm.org/D65566#1611007>, @JDevlieghere wrote:

> Is there a way to use the debugserver in the framework instead?

This patch is about the debugserver in the framework. It must be signed, because the lldb driver uses it implicitly and, apparently, that is the correct behavior.
debugserver is built as `bin/debugserver` and copied to `bin/LLDB.framework/Resources/debugserver` (the latter is currently not signed in Xcode builds).

> This seems like the inverse of the problem we had earlier with the RPATHs, where we would fix them up in the build tree after copying them.

It's purely about the functionality of the build-tree lldb.

BTW The problem you may refer to (--> https://reviews.llvm.org/D61952#change-2C1slKxbErMH ?) is unrelated, but it's still existing when installing with the framework. Currently it doesn't show up upstream, because in practice configuration-order defines install-order. So, we are good as long as tools that go into the framework are configured after the framework.

  rG LLVM Github Monorepo



More information about the lldb-commits mailing list