summaryrefslogtreecommitdiffstats
path: root/lld/lib/Driver/CoreDriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/lib/Driver/CoreDriver.cpp')
-rw-r--r--lld/lib/Driver/CoreDriver.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/lld/lib/Driver/CoreDriver.cpp b/lld/lib/Driver/CoreDriver.cpp
index bc49f6a6209..c0869b790f6 100644
--- a/lld/lib/Driver/CoreDriver.cpp
+++ b/lld/lib/Driver/CoreDriver.cpp
@@ -8,7 +8,7 @@
//===----------------------------------------------------------------------===//
#include "lld/Driver/Driver.h"
-#include "lld/ReaderWriter/CoreTargetInfo.h"
+#include "lld/ReaderWriter/CoreLinkingContext.h"
#include "lld/ReaderWriter/Reader.h"
#include "llvm/ADT/ArrayRef.h"
@@ -69,16 +69,15 @@ public:
namespace lld {
bool CoreDriver::link(int argc, const char *argv[], raw_ostream &diagnostics) {
- CoreTargetInfo info;
+ CoreLinkingContext info;
if (parse(argc, argv, info))
return true;
return Driver::link(info);
}
-
-bool CoreDriver::parse(int argc, const char *argv[],
- CoreTargetInfo &info, raw_ostream &diagnostics) {
+bool CoreDriver::parse(int argc, const char *argv[], CoreLinkingContext &info,
+ raw_ostream &diagnostics) {
// Parse command line options using CoreOptions.td
std::unique_ptr<llvm::opt::InputArgList> parsedArgs;
CoreOptTable table;
OpenPOWER on IntegriCloud