summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
diff options
context:
space:
mode:
authorDavid Bozier <seifsta@gmail.com>2017-03-02 16:50:48 +0000
committerDavid Bozier <seifsta@gmail.com>2017-03-02 16:50:48 +0000
commit08c1afa98f26a032ccc1def6a41837acf2ff9154 (patch)
tree34aa8fc32b1e741a7bfef77a372c4cb882eaa113 /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
parentf7aba7ba22e15e7b6dc0238feeb19cccc5f46f53 (diff)
downloadbcm5719-llvm-08c1afa98f26a032ccc1def6a41837acf2ff9154.tar.gz
bcm5719-llvm-08c1afa98f26a032ccc1def6a41837acf2ff9154.zip
Allow use of spaces in Bugpoint ‘--compile-command’ argument
Bug-Point functionality needs extending due to the patch D29185 by bd1976llvm (Allow llvm's build and test systems to support paths with spaces ). It requires Bugpoint to accept the use of spaces within ‘--compile-command’ tokens. Details Bugpoint uses the argument ‘--compile-command’ to pass in a command line argument as a string, the string is tokenized by the ‘lexCommand’ function using spaces as a delimiter. Patch D29185 will cause the unit test compile-custom.ll to fail as spaces are now required within tokens and as a delimiter. This patch allows the use of escape characters as below: Two consecutive '\' evaluate to a single '\'. A space after a '\' evaluates to a space that is not interpreted as a delimiter. Any other instances of the '\' character are removed. Committed on behalf of Owen Reynolds Differential revision: https://reviews.llvm.org/D29940 llvm-svn: 296763
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud