llvm-project/llvm/lib
Nico Weber fa7f4898a9 Use gcc's rules for parsing gcc-style response files
In gcc, \ escapes every character in response files. It is true that this makes
it harder to mention Windows files in rsp files, but not doing this means clang
disagrees with gcc, and also disagrees with the shell (on non-Windows) which
rsp file quoting is supposed to match. clang isn't free to choose what to do
here.

In general, the idea for response files is to take bits of your command line
and write them to a file unchanged, and have things work the same way. Since
the command line would've been interpreted by the shell, things in the rsp file
need to be subject to the same shell quoting rules.

People who want to put Windows-style paths in their response files either need
to do any of:
* escape their backslashes
* or use clang-cl which uses cl.exe/cmd.exe quoting rules
* pass --rsp-quoting=windows to clang to tell it to use
  cl.exe/cmd.exe quoting rules for response files.

Fixes PR27464.
http://reviews.llvm.org/D19417

llvm-svn: 267556
2016-04-26 13:53:56 +00:00
..
Analysis [LVI] Make a precondition explicit rather than handling a case which never happens [NFC] 2016-04-25 22:21:24 +00:00
AsmParser IR: Enable debug info type ODR uniquing for forward decls 2016-04-19 18:00:19 +00:00
Bitcode BitcodeReader: Delay metadata parsing until reading a function body 2016-04-24 15:04:28 +00:00
CodeGen [CodeGenPrepare] don't convert an unpredictable select into control flow 2016-04-26 00:47:39 +00:00
DebugInfo Resubmit "Refactor raw pdb dumper into library" 2016-04-25 17:38:08 +00:00
ExecutionEngine [ORC] clang-format code that was touched in r267457. NFC. 2016-04-25 21:21:20 +00:00
Fuzzer [libFuzzer] remove dead code 2016-04-25 19:41:45 +00:00
IR Add check for "branch_weights" with prof metadata 2016-04-25 23:15:16 +00:00
IRReader Remove autoconf support 2016-01-26 21:29:08 +00:00
LTO ThinLTOCodeGenerator: preserve linkonce when in "MustPreserved" set 2016-04-26 10:35:01 +00:00
LibDriver LibDriver: Silently do nothing when provided no inputs. 2016-04-13 19:36:04 +00:00
LineEditor Fix Clang-tidy modernize-deprecated-headers warnings in some files; other minor fixes. 2016-03-28 17:40:08 +00:00
Linker Fix recursive -only-needed. 2016-04-21 14:56:33 +00:00
MC Revert "ARM: put correct symbol index on indirect pointers in __thread_ptr." 2016-04-26 10:02:02 +00:00
Object MachO: remove weird ARM/Thumb interface from MachOObjectFile 2016-04-22 23:21:13 +00:00
ObjectYAML [lanai] Add Lanai backend. 2016-03-28 13:09:54 +00:00
Option Option parser: class for consuming a joined arg in addition to all remaining args 2016-04-15 00:23:30 +00:00
Passes PM: Port GlobalOpt to the new pass manager 2016-04-26 00:28:01 +00:00
ProfileData [Coverage] Restore the correct count value after processing a nested region in case of combined regions. 2016-04-25 09:43:37 +00:00
Support Use gcc's rules for parsing gcc-style response files 2016-04-26 13:53:56 +00:00
TableGen [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
Target [AMDGPU] Assembler: basic support for SDWA instructions 2016-04-26 13:33:56 +00:00
Transforms Tune basic block annotation algorithm. 2016-04-26 04:59:11 +00:00
CMakeLists.txt Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
LLVMBuild.txt Add LLVMBuild for ObjectYAML. 2016-03-01 21:29:33 +00:00