Newer
Older
// Add the library files to the library group.
for (std::unique_ptr<FileNode> &lib : libraries) {
if (!hasLibrary(ctx, lib.get())) {
if (isReadingDirectiveSection)
if (lib->parse(ctx, diagnostics))
return false;
ctx.getLibraryGroup()->processInputElement(std::move(lib));
}
}
// Validate the combination of options used.
}
} // namespace lld