mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Add variable to capture arguments that should be passed to the user program
This is unused so far. llvm-svn: 7422
This commit is contained in:
parent
78f944d347
commit
fdcda7baa4
@ -20,8 +20,11 @@ InputFilenames(cl::Positional, cl::OneOrMore,
|
||||
static cl::list<const PassInfo*, bool, PassNameParser>
|
||||
PassList(cl::desc("Passes available:"), cl::ZeroOrMore);
|
||||
|
||||
//cl::list<std::string>
|
||||
//InputArgv(cl::ConsumeAfter, cl::desc("<program arguments>..."));
|
||||
// Anything specified after the --args option are taken as arguments to the
|
||||
// program being debugged.
|
||||
cl::list<std::string>
|
||||
InputArgv("args", cl::Positional, cl::desc("<program arguments>..."),
|
||||
cl::ZeroOrMore);
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
cl::ParseCommandLineOptions(argc, argv);
|
||||
|
Loading…
Reference in New Issue
Block a user