diff options
Diffstat (limited to 'lld/lib/Driver/Driver.cpp')
| -rw-r--r-- | lld/lib/Driver/Driver.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lld/lib/Driver/Driver.cpp b/lld/lib/Driver/Driver.cpp index 5d9d6807f4a..c21396f1d32 100644 --- a/lld/lib/Driver/Driver.cpp +++ b/lld/lib/Driver/Driver.cpp @@ -15,7 +15,6 @@ #include "lld/Core/PassManager.h" #include "lld/Core/Resolver.h" #include "lld/Driver/Driver.h" -#include "lld/Driver/WrapperInputGraph.h" #include "lld/Passes/RoundTripNativePass.h" #include "lld/Passes/RoundTripYAMLPass.h" #include "lld/ReaderWriter/Reader.h" @@ -120,7 +119,7 @@ bool Driver::link(LinkingContext &context, raw_ostream &diagnostics) { context.createInternalFiles(internalFiles); for (auto i = internalFiles.rbegin(), e = internalFiles.rend(); i != e; ++i) { context.getInputGraph().addInputElementFront( - llvm::make_unique<WrapperNode>(std::move(*i))); + llvm::make_unique<FileNode>(std::move(*i))); } // Give target a chance to add files. @@ -128,7 +127,7 @@ bool Driver::link(LinkingContext &context, raw_ostream &diagnostics) { context.createImplicitFiles(implicitFiles); for (auto i = implicitFiles.rbegin(), e = implicitFiles.rend(); i != e; ++i) { context.getInputGraph().addInputElementFront( - llvm::make_unique<WrapperNode>(std::move(*i))); + llvm::make_unique<FileNode>(std::move(*i))); } // Give target a chance to sort the input files. |

