[PATCH] D13148: ELF2: Support reponse files.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 20:58:53 PDT 2015


That's not a command line option but a meta-feature of that, so there's no
way to define an error message. Old LLD and Clang don't also print out a
help message for @, so it's probably not needed.

On Thu, Sep 24, 2015 at 8:54 PM, Shankar Easwaran <shankare at codeaurora.org>
wrote:

> shankare added a subscriber: shankare.
>
> ================
> Comment at: ELF/DriverUtils.cpp:58-60
> @@ -55,4 +57,5 @@
>
> -  opt::InputArgList Args = Table.ParseArgs(Argv, MissingIndex,
> MissingCount);
> +  std::vector<const char *> ArgvVec = replaceResponseFiles(Argv);
> +  opt::InputArgList Args = Table.ParseArgs(ArgvVec, MissingIndex,
> MissingCount);
>    if (MissingCount)
>      error(Twine("missing arg value for \"") +
> Args.getArgString(MissingIndex) +
> ----------------
> Can you add the option @ to the help ?
>
>
> http://reviews.llvm.org/D13148
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150924/45ea8ef2/attachment.html>


More information about the llvm-commits mailing list