summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-lto
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2014-07-03 23:28:00 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2014-07-03 23:28:00 +0000
commit63086fe166933942b38a3cc68af3094b973cb275 (patch)
tree467591066107c39282123e3f9aaf81bf29a9aaa7 /llvm/tools/llvm-lto
parent30f37f5fc426824899632e2a329adaeccddf3065 (diff)
downloadbcm5719-llvm-63086fe166933942b38a3cc68af3094b973cb275.tar.gz
bcm5719-llvm-63086fe166933942b38a3cc68af3094b973cb275.zip
LTO: rename the various makeLTOModule overloads.
This rename makes it easier to identify the specific overload being called in each particular case and makes future refactorings easier. Differential Revision: http://reviews.llvm.org/D4370 llvm-svn: 212302
Diffstat (limited to 'llvm/tools/llvm-lto')
-rw-r--r--llvm/tools/llvm-lto/llvm-lto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-lto/llvm-lto.cpp b/llvm/tools/llvm-lto/llvm-lto.cpp
index 8c2d1cdfbb8..8b39f1285f5 100644
--- a/llvm/tools/llvm-lto/llvm-lto.cpp
+++ b/llvm/tools/llvm-lto/llvm-lto.cpp
@@ -110,7 +110,7 @@ int main(int argc, char **argv) {
for (unsigned i = BaseArg; i < InputFilenames.size(); ++i) {
std::string error;
std::unique_ptr<LTOModule> Module(
- LTOModule::makeLTOModule(InputFilenames[i].c_str(), Options, error));
+ LTOModule::createFromFile(InputFilenames[i].c_str(), Options, error));
if (!error.empty()) {
errs() << argv[0] << ": error loading file '" << InputFilenames[i]
<< "': " << error << "\n";
OpenPOWER on IntegriCloud