From c1869e85de60c09359250f67474dd03eddc64a3e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 30 Jul 2003 17:36:07 +0000 Subject: [PATCH] Add variable to capture arguments that should be passed to the user program This is unused so far. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7422 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/bugpoint/bugpoint.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/bugpoint/bugpoint.cpp b/tools/bugpoint/bugpoint.cpp index dda8c5122b4..95350f4ffe5 100644 --- a/tools/bugpoint/bugpoint.cpp +++ b/tools/bugpoint/bugpoint.cpp @@ -20,8 +20,11 @@ InputFilenames(cl::Positional, cl::OneOrMore, static cl::list PassList(cl::desc("Passes available:"), cl::ZeroOrMore); -//cl::list -//InputArgv(cl::ConsumeAfter, cl::desc("...")); +// Anything specified after the --args option are taken as arguments to the +// program being debugged. +cl::list +InputArgv("args", cl::Positional, cl::desc("..."), + cl::ZeroOrMore); int main(int argc, char **argv) { cl::ParseCommandLineOptions(argc, argv); -- 2.34.1