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
This commit is contained in:
Chris Lattner 2004-05-06 22:05:35 +00:00
parent a60f355c87
commit 6aee736d1b
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
//===----------------------------------------------------------------------===//