summaryrefslogtreecommitdiffstats
path: root/llvm/lib/LTO/LTOModule.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-01-14 23:51:27 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-01-14 23:51:27 +0000
commite9fab9b0778b2df4480d9cd7fa0d2a3ac4c8bfac (patch)
treeca2481c9748e4a5b830a9eed092a0fe7a49315b7 /llvm/lib/LTO/LTOModule.cpp
parent4dcc4637b510002e85efb7cff5420597064c9376 (diff)
downloadbcm5719-llvm-e9fab9b0778b2df4480d9cd7fa0d2a3ac4c8bfac.tar.gz
bcm5719-llvm-e9fab9b0778b2df4480d9cd7fa0d2a3ac4c8bfac.zip
Return an error_code from materializeAllPermanently.
llvm-svn: 199275
Diffstat (limited to 'llvm/lib/LTO/LTOModule.cpp')
-rw-r--r--llvm/lib/LTO/LTOModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTOModule.cpp b/llvm/lib/LTO/LTOModule.cpp
index dcfd59e7526..79cff1f68fe 100644
--- a/llvm/lib/LTO/LTOModule.cpp
+++ b/llvm/lib/LTO/LTOModule.cpp
@@ -169,7 +169,7 @@ LTOModule *LTOModule::makeLTOModule(MemoryBuffer *buffer,
TargetMachine *target = march->createTargetMachine(TripleStr, CPU, FeatureStr,
options);
- m->MaterializeAllPermanently();
+ m->materializeAllPermanently();
LTOModule *Ret = new LTOModule(m.take(), target);
if (Ret->parseSymbols(errMsg)) {
OpenPOWER on IntegriCloud