[llvm-commits] CVS: llvm/tools/bugpoint/bugpoint.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Jul 30 12:37:01 PDT 2003
Changes in directory llvm/tools/bugpoint:
bugpoint.cpp updated: 1.3 -> 1.4
---
Log message:
Add variable to capture arguments that should be passed to the user program
This is unused so far.
---
Diffs of the changes:
Index: llvm/tools/bugpoint/bugpoint.cpp
diff -u llvm/tools/bugpoint/bugpoint.cpp:1.3 llvm/tools/bugpoint/bugpoint.cpp:1.4
--- llvm/tools/bugpoint/bugpoint.cpp:1.3 Thu Jul 24 13:17:43 2003
+++ llvm/tools/bugpoint/bugpoint.cpp Wed Jul 30 12:36:07 2003
@@ -20,8 +20,11 @@
static cl::list<const PassInfo*, bool, PassNameParser>
PassList(cl::desc("Passes available:"), cl::ZeroOrMore);
-//cl::list<std::string>
-//InputArgv(cl::ConsumeAfter, cl::desc("<program arguments>..."));
+// Anything specified after the --args option are taken as arguments to the
+// program being debugged.
+cl::list<std::string>
+InputArgv("args", cl::Positional, cl::desc("<program arguments>..."),
+ cl::ZeroOrMore);
int main(int argc, char **argv) {
cl::ParseCommandLineOptions(argc, argv);
More information about the llvm-commits
mailing list