[llvm-commits] CVS: llvm/tools/bugpoint/ExecutionDriver.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu May 6 17:05:01 PDT 2004


Changes in directory llvm/tools/bugpoint:

ExecutionDriver.cpp updated: 1.42 -> 1.43

---
Log message:

Use the new commandline flag to allow us to call bugpoint like this:

 bugpoint ... --tool-args -enable-correct-eh-support -regalloc=linearscan --args -- -foo

So that tool-args option gets the -enable-correct-eh-support -regalloc=linearscan flags instead of bugpoint.



---
Diffs of the changes:  (+2 -2)

Index: llvm/tools/bugpoint/ExecutionDriver.cpp
diff -u llvm/tools/bugpoint/ExecutionDriver.cpp:1.42 llvm/tools/bugpoint/ExecutionDriver.cpp:1.43
--- llvm/tools/bugpoint/ExecutionDriver.cpp:1.42	Thu May  6 14:29:58 2004
+++ llvm/tools/bugpoint/ExecutionDriver.cpp	Thu May  6 17:05:35 2004
@@ -61,11 +61,11 @@
   // program being debugged.
   cl::list<std::string>
   InputArgv("args", cl::Positional, cl::desc("<program arguments>..."),
-            cl::ZeroOrMore);
+            cl::ZeroOrMore, cl::PositionalEatsArgs);
 
   cl::list<std::string>
   ToolArgv("tool-args", cl::Positional, cl::desc("<tool arguments>..."),
-           cl::ZeroOrMore);
+           cl::ZeroOrMore, cl::PositionalEatsArgs);
 }
 
 //===----------------------------------------------------------------------===//





More information about the llvm-commits mailing list