summaryrefslogtreecommitdiff
path: root/tools/bugpoint/ExecutionDriver.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-05-06 22:05:35 +0000
committerChris Lattner <sabre@nondot.org>2004-05-06 22:05:35 +0000
commit60083e2fc0f1165b7511757449f1ee3852b7229c (patch)
treeed0b8fe51823afae69f430c6d0c3394b1285035a /tools/bugpoint/ExecutionDriver.cpp
parentbf455c236001d5424dbda50fd145352f87f11ec1 (diff)
downloadllvm-60083e2fc0f1165b7511757449f1ee3852b7229c.tar.gz
llvm-60083e2fc0f1165b7511757449f1ee3852b7229c.tar.bz2
llvm-60083e2fc0f1165b7511757449f1ee3852b7229c.tar.xz
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
Diffstat (limited to 'tools/bugpoint/ExecutionDriver.cpp')
-rw-r--r--tools/bugpoint/ExecutionDriver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/bugpoint/ExecutionDriver.cpp b/tools/bugpoint/ExecutionDriver.cpp
index eacf6d9557..a08d632682 100644
--- a/tools/bugpoint/ExecutionDriver.cpp
+++ b/tools/bugpoint/ExecutionDriver.cpp
@@ -61,11 +61,11 @@ namespace llvm {
// 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);
}
//===----------------------------------------------------------------------===//