Start the refactoring of globbing
authorEnrico Granata <egranata@apple.com>
Fri, 20 Feb 2015 21:48:38 +0000 (21:48 +0000)
committerEnrico Granata <egranata@apple.com>
Fri, 20 Feb 2015 21:48:38 +0000 (21:48 +0000)
commit83a1437646bcb916fdd3101a4234f0bc3475c347
tree09fbf3def28ec2e9122ea792865f6e7fbe3e8c93
parentbc35fbe43a6a37877d5421a25616fe7858e7dfe0
Start the refactoring of globbing

- Add Host::GlobArguments() to perform local-globbing
I implemented this on OSX and Windows in terms of argdumper (Windows implementation is essentially the same as the OSX version + a change in binary name and some string magic)
Other platforms did not specifically chime in, so I left it unimplemented for them for the time being. Please feel free to fill in the blanks

- Add Platform::GlobArguments() to support remote-globbing
For now, no feature change here - but now we have infrastructure to help GDBRemote targets to support globbing - and patches to that effect will follow

No visible feature change

llvm-svn: 230065
lldb/include/lldb/Host/Host.h
lldb/include/lldb/Target/Platform.h
lldb/source/Host/freebsd/Host.cpp
lldb/source/Host/linux/Host.cpp
lldb/source/Host/macosx/Host.mm
lldb/source/Host/windows/Host.cpp
lldb/source/Target/Platform.cpp