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 a7247f4 commit fd70309Copy full SHA for fd70309
lld/COFF/Driver.cpp
@@ -2197,17 +2197,7 @@ void LinkerDriver::linkerMain(ArrayRef<const char *> argsArr) {
2197
if (std::optional<StringRef> path = findLibIfNew("Psapi.lib"))
2198
enqueuePath(*path, false, false);
2199
}
2200
-
2201
- // Check if any ObjFile instance has kernel enabled
2202
- if (!config->driver) {
2203
- for (ObjFile *file : ctx.objFileInstances) {
2204
- if (file->doesKernelDriver()) {
2205
- config->driver = true;
2206
- break;
2207
- }
2208
2209
2210
+
2211
// Handle /RELEASE
2212
if (args.hasArg(OPT_release))
2213
config->writeCheckSum = true;
0 commit comments