[PATCH] [ELF] Support response file.

Shankar Easwaran shankare at codeaurora.org
Fri Mar 28 10:24:40 PDT 2014


On 3/28/2014 12:11 PM, Rui Ueyama wrote:
> On Fri, Mar 28, 2014 at 10:05 AM, Shankar Kalpathi Easwaran 
> <shankarke at gmail.com <mailto:shankarke at gmail.com>> wrote:
>
>
>       but if you see cl::ParseCommandLineOptions in CommandLine.cpp,
>     it directly supports expansion over there.
>
>       Or I misunderstood something.
>
>
> OptTable does not seem to get involved in cl::ParseCommandLineOptions. 
> Which one are you talking about?
>
> If you want to take a look at a real example, you may want to look at 
> clang/tools/driver/driver.cpp, in which command line arguments are 
> expanded at the most early stage using ExpandResponseFiles().
>
I was thinking of calling cl::ExpandResponseFiles in 
OptTable::ParseArgs, but I think that would be a lot of work.

-

Shankar Easwaran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140328/5bf152b3/attachment.html>


More information about the llvm-commits mailing list