[PATCH] Teach Clang how to use response files when calling other tools

Rafael Auler rafaelauler at gmail.com
Tue Aug 26 07:21:17 PDT 2014


Removed the ifdefs from several instances of getResponseFileEncoding() by using a new datatype called EncodingStrategy, introduced in the llvm side of the patch at D4896. This datatype stores the desired encoding on both UNIX and Windows systems, letting the writeFileWithEncoding() function in Support to select the appropriate encoding to use.

http://reviews.llvm.org/D4897

Files:
  include/clang/Driver/Compilation.h
  include/clang/Driver/Job.h
  include/clang/Driver/Tool.h
  lib/Driver/Compilation.cpp
  lib/Driver/Job.cpp
  lib/Driver/Tools.cpp
  lib/Driver/Tools.h
  test/Driver/response-file.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4897.12944.patch
Type: text/x-patch
Size: 37998 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140826/8b601bf2/attachment.bin>


More information about the cfe-commits mailing list