From 60083e2fc0f1165b7511757449f1ee3852b7229c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 6 May 2004 22:05:35 +0000 Subject: [PATCH] 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 --- tools/bugpoint/ExecutionDriver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } //===----------------------------------------------------------------------===// -- 2.34.1