From: Chris Lattner Date: Thu, 6 May 2004 22:05:35 +0000 (+0000) Subject: Use the new commandline flag to allow us to call bugpoint like this: X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=60083e2fc0f1165b7511757449f1ee3852b7229c;p=oota-llvm.git 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13389 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/bugpoint/ExecutionDriver.cpp b/tools/bugpoint/ExecutionDriver.cpp index eacf6d9557a..a08d6326826 100644 --- a/tools/bugpoint/ExecutionDriver.cpp +++ b/tools/bugpoint/ExecutionDriver.cpp @@ -61,11 +61,11 @@ namespace llvm { // program being debugged. cl::list InputArgv("args", cl::Positional, cl::desc("..."), - cl::ZeroOrMore); + cl::ZeroOrMore, cl::PositionalEatsArgs); cl::list ToolArgv("tool-args", cl::Positional, cl::desc("..."), - cl::ZeroOrMore); + cl::ZeroOrMore, cl::PositionalEatsArgs); } //===----------------------------------------------------------------------===//