[PATCH] D62472: [CMake] LLDB.framework tools handling
Jim Ingham via Phabricator via llvm-commits
llvm-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.
CHANGES SINCE LAST ACTION
More information about the llvm-commits