[Lldb-commits] [PATCH] Move argument globbing to Target::Launch from Platform::LaunchProcess.
egranata at apple.com
Thu Feb 19 10:59:56 PST 2015
Disclaimer: any mention of “glowing” instead of “globbing” is autocorrect
Over the next couple days, I want to spend some time generalizing this whole globbing thing
Right now, it only works for local debugging, which is ugly.
The theory is that Platforms should have a way to specify how they want globbing done.
POSIXy platforms would call argdumper or an equivalent incantation. Windows could perform a rain dance, and maybe some other platform has no notion of globbing in the first place, so it would just say “sorry no can do”
If you think about it, when launching a process on a remote machine, you want the globbing to happen there, not on your host
The fact that the code currently does that is just an artifact of me juggling several different tasks at once, and not having had time to wrap this up
It should not be turned from a temporary sad state of affairs into a conscious design choice
> On Feb 18, 2015, at 5:38 PM, Siva Chandra <sivachandra at google.com> wrote:
> Hi clayborg, granata.enrico, zturner, ovyalov,
> This way, the process will recieve globbed arguments even if it was
> launched via the process plugin.
> EMAIL PREFERENCES
> lldb-commits mailing list
> lldb-commits at cs.uiuc.edu
📩 egranata@.com ☎️ 27683
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-commits