summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit6aee736d1b5ee335bf9a8616200fa8b3b02b2649 (patch)
tree5f306e492ec78929e9b6fea764d1cabcd0b73781 /llvm/tools/bugpoint/ExecutionDriver.cpp
parenta60f355c873ef44b30f7687e8619e0109713b9be (diff)
downloadbcm5719-llvm-6aee736d1b5ee335bf9a8616200fa8b3b02b2649.tar.gz
bcm5719-llvm-6aee736d1b5ee335bf9a8616200fa8b3b02b2649.zip
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. llvm-svn: 13389
Diffstat (limited to 'llvm/tools/bugpoint/ExecutionDriver.cpp')
-rw-r--r--llvm/tools/bugpoint/ExecutionDriver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/bugpoint/ExecutionDriver.cpp b/llvm/tools/bugpoint/ExecutionDriver.cpp
index eacf6d9557a..a08d6326826 100644
--- a/llvm/tools/bugpoint/ExecutionDriver.cpp
+++ b/llvm/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);
}
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud