llvm/tools
David Bozier 05f3b7323d 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



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296763 91177308-0d34-0410-b5e6-96231b3b80d8
2017-03-02 16:50:48 +00:00
..
bugpoint Allow use of spaces in Bugpoint ‘--compile-command’ argument 2017-03-02 16:50:48 +00:00
bugpoint-passes
dsymutil [dsymutil] Fix handling of empty CUs in LTO links. 2017-02-09 19:41:55 +00:00
gold LTO: When creating a local cache, create the cache directory if it does not already exist. 2017-03-02 02:02:38 +00:00
llc [Assembler] Add test for !srcloc references in assembler diags 2017-02-28 10:34:48 +00:00
lli [Orc] Rename ObjectLinkingLayer -> RTDyldObjectLinkingLayer. 2017-02-20 05:45:14 +00:00
llvm-ar Don't modify archive members unless really needed. 2017-02-21 20:40:54 +00:00
llvm-as
llvm-as-fuzzer
llvm-bcanalyzer IR: Function summary extensions for whole-program devirtualization pass. 2017-02-10 22:29:38 +00:00
llvm-c-test
llvm-cat
llvm-config [llvm-config] Fix obviously wrong code in parsing DyLib components. 2017-01-12 19:47:38 +00:00
llvm-cov [llvm-cov] Error-out when an unsupported format is used (PR32087) 2017-02-28 16:57:28 +00:00
llvm-cxxdump
llvm-cxxfilt llvm-cxxfilt: support -_ 2017-01-22 17:41:10 +00:00
llvm-diff Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
llvm-dis
llvm-dwarfdump
llvm-dwp [llvm-dwp] - Reuse object::Decompressor class 2017-01-13 15:58:55 +00:00
llvm-extract
llvm-go
llvm-jitlistener
llvm-link
llvm-lto
llvm-lto2 LTO: When creating a local cache, create the cache directory if it does not already exist. 2017-03-02 02:02:38 +00:00
llvm-mc [DWARFv5] llvm-mc support for new unit header. 2017-02-28 23:40:46 +00:00
llvm-mc-assemble-fuzzer llvm-mc-fuzzer: add support for assembly 2017-02-27 06:22:17 +00:00
llvm-mc-disassemble-fuzzer llvm-mc-fuzzer: add support for assembly 2017-02-27 06:22:17 +00:00
llvm-mcmarkup
llvm-modextract
llvm-nm Add a warning when the llvm-nm -print-size flag is used on a Mach-O file as 2017-01-25 21:33:38 +00:00
llvm-objdump Actually add error handling to unpacking the dyld compact bind and 2017-02-28 21:47:07 +00:00
llvm-opt-report
llvm-pdbdump [PDB] Make streams carry their own endianness. 2017-02-28 00:04:07 +00:00
llvm-profdata
llvm-readobj [PDB] Make streams carry their own endianness. 2017-02-28 00:04:07 +00:00
llvm-rtdyld
llvm-shlib
llvm-size
llvm-split
llvm-stress Remove uses of deprecated std::random_shuffle in the LLVM code base. Reviewed as https://reviews.llvm.org/D29780. 2017-02-16 14:37:03 +00:00
llvm-strings llvm-strings: remove default for -Wcovered-switch-default 2017-01-21 02:52:29 +00:00
llvm-symbolizer Add a verbose/human readable mode to llvm-symbolizer to investigate discriminators and other line table/backtrace features 2017-01-31 22:19:38 +00:00
llvm-xray [XRAY] A Color Choosing helper for XRay Graph 2017-02-25 00:26:42 +00:00
lto
msbuild
obj2yaml [obj2yaml] Produce correct output for invalid relocations. 2017-01-26 23:12:53 +00:00
opt opt: Rename -default-data-layout flag to -data-layout and make it always override the layout. 2017-02-17 17:36:52 +00:00
sancov [sancov] extending sancov --help documentation 2017-02-24 23:55:18 +00:00
sanstats
verify-uselistorder
xcode-toolchain
yaml2obj Add LC_BUILD_VERSION load command 2017-01-23 20:07:55 +00:00
CMakeLists.txt
LLVMBuild.txt