Index: lld/COFF/Driver.cpp =================================================================== --- lld/COFF/Driver.cpp +++ lld/COFF/Driver.cpp @@ -408,6 +408,10 @@ case OPT_section: parseSection(arg->getValue()); break; + case OPT_stack: + parseNumbers(arg->getValue(), &config->stackReserve, + &config->stackCommit); + break; case OPT_subsystem: { bool gotVersion = false; parseSubsystem(arg->getValue(), &config->subsystem,