diff --git a/lld/COFF/Driver.cpp b/lld/COFF/Driver.cpp --- a/lld/COFF/Driver.cpp +++ b/lld/COFF/Driver.cpp @@ -408,6 +408,9 @@ 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,