[LLVMdev] patch to enable response file support in ParseCommandLineOptions

Liu, Yaxun (Sam) Yaxun.Liu at amd.com
Fri Sep 21 13:28:17 PDT 2012


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120921/0fb08888/attachment.html>

More information about the llvm-dev mailing list