[Lldb-commits] [PATCH] D157640: [lldb] Improve error message when trying to debug a non-debuggable process

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 11 10:36:27 PDT 2023


JDevlieghere added a comment.

In D157640#4578198 <https://reviews.llvm.org/D157640#4578198>, @jingham wrote:

> In this function we have the path to the binary.  We could spawn `codesign -d -entitlements -` and then we would know whether it had that entitlement.
>
> Maybe that's more work than you wanted to do here, however.

Yeah I'm not sure that being able to be more precise is a huge improvement over the current error message. If we still see a lot of people struggling with this we can easily reconsider.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157640/new/

https://reviews.llvm.org/D157640



More information about the lldb-commits mailing list