mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-01 01:30:36 +00:00
Add variable to capture arguments that should be passed to the user program
This is unused so far. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7422 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9cf3d47702
commit
c1869e85de
@ -20,8 +20,11 @@ InputFilenames(cl::Positional, cl::OneOrMore,
|
|||||||
static cl::list<const PassInfo*, bool, PassNameParser>
|
static cl::list<const PassInfo*, bool, PassNameParser>
|
||||||
PassList(cl::desc("Passes available:"), cl::ZeroOrMore);
|
PassList(cl::desc("Passes available:"), cl::ZeroOrMore);
|
||||||
|
|
||||||
//cl::list<std::string>
|
// Anything specified after the --args option are taken as arguments to the
|
||||||
//InputArgv(cl::ConsumeAfter, cl::desc("<program arguments>..."));
|
// program being debugged.
|
||||||
|
cl::list<std::string>
|
||||||
|
InputArgv("args", cl::Positional, cl::desc("<program arguments>..."),
|
||||||
|
cl::ZeroOrMore);
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
cl::ParseCommandLineOptions(argc, argv);
|
cl::ParseCommandLineOptions(argc, argv);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user