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



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to