diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-05-06 22:05:35 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-05-06 22:05:35 +0000 |
| commit | 6aee736d1b5ee335bf9a8616200fa8b3b02b2649 (patch) | |
| tree | 5f306e492ec78929e9b6fea764d1cabcd0b73781 /llvm | |
| parent | a60f355c873ef44b30f7687e8619e0109713b9be (diff) | |
| download | llvm-6aee736d1b5ee335bf9a8616200fa8b3b02b2649.zip llvm-6aee736d1b5ee335bf9a8616200fa8b3b02b2649.tar.gz llvm-6aee736d1b5ee335bf9a8616200fa8b3b02b2649.tar.bz2 | |
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')
| -rw-r--r-- | llvm/tools/bugpoint/ExecutionDriver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/bugpoint/ExecutionDriver.cpp b/llvm/tools/bugpoint/ExecutionDriver.cpp index eacf6d9..a08d632 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); } //===----------------------------------------------------------------------===// |
