mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +00:00
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212302 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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";
|
||||
|
Reference in New Issue
Block a user