Mirror of official llvm git repository located at http://llvm.org/git/llvm. Updated every five minutes.
Go to file
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
bindings
cmake cmake: Configure the ThinLTO cache directory when using ELF lld or gold. 2017-03-02 03:01:12 +00:00
docs [XRay][Docs] Update the XRay documentation 2017-02-28 22:01:26 +00:00
examples
include Do not verify MachimeDominatorTree if it is not calculated 2017-03-02 12:00:10 +00:00
lib fix typo in comment; NFC 2017-03-02 16:37:24 +00:00
projects
resources
runtimes
test Re-apply "[GVNHoist] Move GVNHoist to function simplification part of pipeline." 2017-03-02 16:16:47 +00:00
tools Allow use of spaces in Bugpoint ‘--compile-command’ argument 2017-03-02 16:50:48 +00:00
unittests [DebugInfo] [DWARFv5] Unique abbrevs for DIEs with different implicit_const values 2017-03-01 22:13:42 +00:00
utils New tool: opt-stats.py 2017-03-01 21:35:00 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitignore [.gitignore] Update .gitignore to ignore a nested build directory 2017-02-24 23:09:30 +00:00
CMakeLists.txt
CODE_OWNERS.TXT
configure
CREDITS.TXT
LICENSE.TXT
llvm.spec.in
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.