projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LTO: rename the various makeLTOModule overloads.
[oota-llvm.git]
/
tools
/
llvm-lto
/
llvm-lto.cpp
diff --git
a/tools/llvm-lto/llvm-lto.cpp
b/tools/llvm-lto/llvm-lto.cpp
index 8c2d1cdfbb8ea9e1300fea78ec53f9d69fca31a4..8b39f1285f5fcd5702b7761387a90e16e2159644 100644
(file)
--- a/
tools/llvm-lto/llvm-lto.cpp
+++ b/
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(
for (unsigned i = BaseArg; i < InputFilenames.size(); ++i) {
std::string error;
std::unique_ptr<LTOModule> Module(
- LTOModule::
makeLTOModu
le(InputFilenames[i].c_str(), Options, error));
+ LTOModule::
createFromFi
le(InputFilenames[i].c_str(), Options, error));
if (!error.empty()) {
errs() << argv[0] << ": error loading file '" << InputFilenames[i]
<< "': " << error << "\n";
if (!error.empty()) {
errs() << argv[0] << ": error loading file '" << InputFilenames[i]
<< "': " << error << "\n";