|
13 | 13 |
|
14 | 14 | #include "BugDriver.h" |
15 | 15 | #include "ToolRunner.h" |
16 | | -#include "llvm/Support/CommandLine.h" |
17 | 16 | #include "llvm/Support/Debug.h" |
18 | 17 | #include "llvm/Support/FileUtilities.h" |
19 | 18 | #include "llvm/Support/Program.h" |
@@ -102,15 +101,13 @@ static cl::opt<std::string> CustomExecCommand( |
102 | 101 |
|
103 | 102 | // Anything specified after the --args option are taken as arguments to the |
104 | 103 | // program being debugged. |
105 | | -namespace llvm { |
106 | | -cl::list<std::string> InputArgv("args", cl::Positional, |
107 | | - cl::desc("<program arguments>..."), |
108 | | - cl::PositionalEatsArgs); |
109 | | - |
110 | | -cl::opt<std::string> |
111 | | - OutputPrefix("output-prefix", cl::init("bugpoint"), |
112 | | - cl::desc("Prefix to use for outputs (default: 'bugpoint')")); |
113 | | -} // namespace llvm |
| 104 | +cl::list<std::string> llvm::InputArgv("args", cl::Positional, |
| 105 | + cl::desc("<program arguments>..."), |
| 106 | + cl::PositionalEatsArgs); |
| 107 | + |
| 108 | +cl::opt<std::string> llvm::OutputPrefix( |
| 109 | + "output-prefix", cl::init("bugpoint"), |
| 110 | + cl::desc("Prefix to use for outputs (default: 'bugpoint')")); |
114 | 111 |
|
115 | 112 | static cl::list<std::string> ToolArgv("tool-args", cl::Positional, |
116 | 113 | cl::desc("<tool arguments>..."), |
|
0 commit comments