We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 480e8ad commit e7a67bfCopy full SHA for e7a67bf
lld/COFF/Driver.cpp
@@ -365,10 +365,10 @@ void LinkerDriver::parseDirectives(InputFile *File) {
365
parseSubsystem(Arg->getValue(), &Config->Subsystem,
366
&Config->MajorOSVersion, &Config->MinorOSVersion);
367
break;
368
+ // Only add flags here that link.exe accepts in
369
+ // `#pragma comment(linker, "/flag")`-generated sections.
370
case OPT_editandcontinue:
- case OPT_fastfail:
371
case OPT_guardsym:
- case OPT_natvis:
372
case OPT_throwingnew:
373
374
default:
0 commit comments