[Lldb-commits] [PATCH] D62472: [CMake] LLDB.framework tools handling

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed May 29 10:41:06 PDT 2019


jingham added a comment.

The typical trick for doing argument substitution before debugging was roughly to debug:

exec /bin/sh executable arg1 arg2 ...

then follow through the shell to the executable.  That failed when SIP made it impossible to debug any of the shells, so we had to come up with another way to do shell expansion.  That's what argdumper does.  We run that under the user's shell and it just dumps the args array in a structured output so we can launch directly with those expanded arguments.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D62472





More information about the lldb-commits mailing list