LTO: rename the various makeLTOModule overloads.
[oota-llvm.git] / tools / llvm-lto / llvm-lto.cpp
index 8c2d1cdfbb8ea9e1300fea78ec53f9d69fca31a4..8b39f1285f5fcd5702b7761387a90e16e2159644 100644 (file)
@@ -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";