diff options
| author | Rui Ueyama <ruiu@google.com> | 2014-12-14 05:08:53 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2014-12-14 05:08:53 +0000 |
| commit | 0215c88f0036553a954ce102f0f8aebf7a5f0a45 (patch) | |
| tree | ddf9ed742631df7269f54606bdb4307c84638a47 /lld/lib/Driver/WinLinkDriver.cpp | |
| parent | c39120e101a4c140555852a81581567a548ae295 (diff) | |
| download | bcm5719-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.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"; |

