|
13 | 13 |
|
14 | 14 | #include "BugDriver.h" |
15 | 15 | #include "ToolRunner.h" |
| 16 | +#include "llvm/Support/CommandLine.h" |
16 | 17 | #include "llvm/Support/Debug.h" |
17 | 18 | #include "llvm/Support/FileUtilities.h" |
18 | 19 | #include "llvm/Support/Program.h" |
@@ -101,13 +102,15 @@ static cl::opt<std::string> CustomExecCommand( |
101 | 102 |
|
102 | 103 | // Anything specified after the --args option are taken as arguments to the |
103 | 104 | // program being debugged. |
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')")); |
| 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 |
111 | 114 |
|
112 | 115 | static cl::list<std::string> ToolArgv("tool-args", cl::Positional, |
113 | 116 | cl::desc("<tool arguments>..."), |
|
0 commit comments