bool _parsed;
};
-/// \brief Represents a PECOFF Library File
-class PECOFFLibraryNode : public PECOFFFileNode {
-public:
- PECOFFLibraryNode(PECOFFLinkingContext &ctx, StringRef path)
- : PECOFFFileNode(ctx, path) {}
-};
-
} // namespace lld
#endif
path = ctx.allocate(path);
if (isLibraryFile(path)) {
libraries.push_back(std::unique_ptr<FileNode>(
- new PECOFFLibraryNode(ctx, getLibraryPath(ctx, path))));
+ new PECOFFFileNode(ctx, getLibraryPath(ctx, path))));
} else {
files.push_back(std::unique_ptr<FileNode>(
new PECOFFFileNode(ctx, getObjectPath(ctx, path))));
for (const StringRef path : defaultLibs)
if (!ctx.hasNoDefaultLib(path))
libraries.push_back(std::unique_ptr<FileNode>(
- new PECOFFLibraryNode(ctx, getLibraryPath(ctx, path.lower()))));
+ new PECOFFFileNode(ctx, getLibraryPath(ctx, path.lower()))));
if (files.empty() && !isReadingDirectiveSection) {
diag << "No input files\n";