summaryrefslogtreecommitdiffstats
path: root/lld/lib/Driver/WinLinkDriver.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-12-14 05:08:53 +0000
committerRui Ueyama <ruiu@google.com>2014-12-14 05:08:53 +0000
commit0215c88f0036553a954ce102f0f8aebf7a5f0a45 (patch)
treeddf9ed742631df7269f54606bdb4307c84638a47 /lld/lib/Driver/WinLinkDriver.cpp
parentc39120e101a4c140555852a81581567a548ae295 (diff)
downloadbcm5719-llvm-0215c88f0036553a954ce102f0f8aebf7a5f0a45.tar.gz
bcm5719-llvm-0215c88f0036553a954ce102f0f8aebf7a5f0a45.zip
Remove PECOFFLibraryNode.
This class is empty, provides no additional feature to the base class. llvm-svn: 224212
Diffstat (limited to 'lld/lib/Driver/WinLinkDriver.cpp')
-rw-r--r--lld/lib/Driver/WinLinkDriver.cpp4
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";
OpenPOWER on IntegriCloud