Go to file
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
clang [MSVC] PR27337: allow static_cast from private base to derived for WTL 2016-04-26 09:21:17 +00:00
clang-tools-extra A clang-tidy check for std:accumulate. 2016-04-26 10:05:45 +00:00
compiler-rt [sanitizer] [SystemZ] Add ptrace support bits. 2016-04-26 10:41:30 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc prepare-builtins: Remove call to getGlobalContext() 2016-04-15 14:18:58 +00:00
libcxx Rename a few tests that had typos in their names. No functional change. Thanks to STL for the catch 2016-04-23 14:31:00 +00:00
libcxxabi Enable testing for static libc++abi 2016-04-19 12:47:38 +00:00
libunwind unwind: remove last instance of -Wexpansion-to-defined 2016-04-26 01:11:29 +00:00
lld Store the binding in the Symbol. 2016-04-26 13:50:46 +00:00
lldb Bump up timeout in TestCallWithTimeout 2016-04-26 13:37:24 +00:00
llgo [llgo] llgoi: separate evaluation from printing 2016-04-25 01:18:20 +00:00
llvm Use gcc's rules for parsing gcc-style response files 2016-04-26 13:53:56 +00:00
openmp Remove architecture dependent Hwloc DEBUG section 2016-04-25 21:11:26 +00:00
polly [FIX] Adjust assumption space for zext instructions 2016-04-26 12:44:01 +00:00