diff options
Diffstat (limited to 'lld/lib/Driver/WinLinkDriver.cpp')
| -rw-r--r-- | lld/lib/Driver/WinLinkDriver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/lib/Driver/WinLinkDriver.cpp b/lld/lib/Driver/WinLinkDriver.cpp index 4b4d5344654..600fbcac02a 100644 --- a/lld/lib/Driver/WinLinkDriver.cpp +++ b/lld/lib/Driver/WinLinkDriver.cpp @@ -1364,7 +1364,7 @@ bool WinLinkDriver::parse(int argc, const char *argv[], 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)))); @@ -1390,7 +1390,7 @@ bool WinLinkDriver::parse(int argc, const char *argv[], 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"; |

