[LLVMdev] patch to enable response file support in ParseCommandLineOptions

Duncan Sands baldrick at free.fr
Sat Sep 22 03:15:02 PDT 2012


Hi Sam, please add a testcase.  Does this cause any regressions?

Ciao, Duncan.

> I am sending a patch to enable response file support in ParseCommandLineOptions.
> With this change, all llvm tools will support response file. This helps overcome
> the command line length limit which we encountered recently.
>
> Index: include/llvm/Support/CommandLine.h
>
> ===================================================================
>
> --- include/llvm/Support/CommandLine.h  (revision 164408)
>
> +++ include/llvm/Support/CommandLine.h  (working copy)
>
> @@ -42,7 +42,7 @@
>
> //
>
> void ParseCommandLineOptions(int argc, const char * const *argv,
>
>                                const char *Overview = 0,
>
> -                             bool ReadResponseFiles = false);
>
> +                             bool ReadResponseFiles = true);
>
> //===----------------------------------------------------------------------===//
>
> // ParseEnvironmentOptions - Environment variable option processing alternate
>
> Sam
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>




More information about the llvm-dev mailing list