diff options
author | Rui Ueyama <ruiu@google.com> | 2013-08-06 22:31:59 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2013-08-06 22:31:59 +0000 |
commit | 0ca149fce901456eca05ac5244a816303974db03 (patch) | |
tree | d10916d0f49f34b6533c73c11e9b52b91ab98b68 /lld/lib/Driver/CoreDriver.cpp | |
parent | 6fea779c2965b233425c9d4a6e7ff745ddd62b4e (diff) | |
download | bcm5719-llvm-0ca149fce901456eca05ac5244a816303974db03.tar.gz bcm5719-llvm-0ca149fce901456eca05ac5244a816303974db03.zip |
Rename TargetInfo -> LinkingContext.
Also change some local variable names: "ti" -> "context" and
"_targetInfo" -> "_context".
Differential Revision: http://llvm-reviews.chandlerc.com/D1301
llvm-svn: 187823
Diffstat (limited to 'lld/lib/Driver/CoreDriver.cpp')
-rw-r--r-- | lld/lib/Driver/CoreDriver.cpp | 9 |
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; |