forked from OSchip/llvm-project
parent
1b7e4866f4
commit
8a5cbadff9
|
@ -350,12 +350,12 @@ bool WinLinkDriver::parse(int argc, const char *argv[],
|
||||||
|
|
||||||
case OPT_entry:
|
case OPT_entry:
|
||||||
// handle /entry
|
// handle /entry
|
||||||
ctx.setEntrySymbolName(inputArg->getValue());
|
ctx.setEntrySymbolName(ctx.allocateString(inputArg->getValue()));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case OPT_libpath:
|
case OPT_libpath:
|
||||||
// handle /libpath
|
// handle /libpath
|
||||||
ctx.appendInputSearchPath(inputArg->getValue());
|
ctx.appendInputSearchPath(ctx.allocateString(inputArg->getValue()));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case OPT_force:
|
case OPT_force:
|
||||||
|
@ -408,12 +408,12 @@ bool WinLinkDriver::parse(int argc, const char *argv[],
|
||||||
|
|
||||||
case OPT_incl:
|
case OPT_incl:
|
||||||
// handle /incl
|
// handle /incl
|
||||||
ctx.addInitialUndefinedSymbol(inputArg->getValue());
|
ctx.addInitialUndefinedSymbol(ctx.allocateString(inputArg->getValue()));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case OPT_out:
|
case OPT_out:
|
||||||
// handle /out
|
// handle /out
|
||||||
ctx.setOutputPath(inputArg->getValue());
|
ctx.setOutputPath(ctx.allocateString(inputArg->getValue()));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case OPT_INPUT: {
|
case OPT_INPUT: {
|
||||||
|
|
Loading…
Reference in New Issue