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

Rafael Auler rafaelauler at gmail.com
Tue Aug 26 12:42:09 PDT 2014


Updated the patch at http://reviews.llvm.org/D4897 (I didn't receive the
phabricator email in this thread, so I am sending it myself).


On Tue, Aug 26, 2014 at 11:21 AM, Rafael Auler <rafaelauler at gmail.com>
wrote:

> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140826/920850fe/attachment.html>


More information about the cfe-commits mailing list