[PATCH] D99680: Allow /STACK in #pragma comment(linker, ...)
Alex Reinking via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 31 14:29:58 PDT 2021
alexreinking updated this revision to Diff 334539.
alexreinking added a comment.
Fix formatting.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99680/new/
https://reviews.llvm.org/D99680
Files:
lld/COFF/Driver.cpp
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,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99680.334539.patch
Type: text/x-patch
Size: 495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210331/f7128410/attachment-0001.bin>
More information about the llvm-commits
mailing list