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

Rafael Auler rafaelauler at gmail.com
Tue Sep 2 22:39:47 PDT 2014


Hi,

This is the updated patch implementing:
* using a raw_string_ostream to buffer the response file contents before calling writeFileWithEncoding() to write all the contents at once.
* removing virtual from Tool's member functions that deal with response files, following Rafael's suggestion.  

Best regards,
Rafael Auler

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/Tool.cpp
  lib/Driver/Tools.cpp
  lib/Driver/Tools.h
  test/Driver/response-file.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4897.13191.patch
Type: text/x-patch
Size: 30582 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140903/6ea9178c/attachment.bin>


More information about the cfe-commits mailing list