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 ae6c7b2 commit 18b89eeCopy full SHA for 18b89ee
lld/COFF/Writer.cpp
@@ -2608,10 +2608,11 @@ void Writer::prepareLoadConfig() {
2608
auto *b = cast_if_present<DefinedRegular>(sym);
2609
if (!b) {
2610
if (ctx.config.guardCF != GuardCFLevel::Off)
2611
- Warn("Control Flow Guard is enabled but '_load_config_used' is missing");
+ Warn(ctx)
2612
+ << "Control Flow Guard is enabled but '_load_config_used' is missing";
2613
if (ctx.config.dependentLoadFlags)
- Warn("_load_config_used not found, /dependentloadflag will have no "
2614
- "effect");
+ Warn(ctx) << "_load_config_used not found, /dependentloadflag will have "
2615
+ "no effect";
2616
return;
2617
}
2618
0 commit comments