summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-04-29 19:03:21 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-04-29 19:03:21 +0000
commit3700894249f58a33aaeee09203afd4e14bf52ba4 (patch)
treec53eb4236cc231832508d7750a3c636573737bf2 /llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
parente02c622baa07c6ec65181e81d0fbf54dde9c4a5a (diff)
downloadbcm5719-llvm-3700894249f58a33aaeee09203afd4e14bf52ba4.tar.gz
bcm5719-llvm-3700894249f58a33aaeee09203afd4e14bf52ba4.zip
Use a RelocationRef instead of a relocation_iterator.
No functionality change. llvm-svn: 180723
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
index d52bcadd208..ef4a4050e9e 100644
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
@@ -600,17 +600,17 @@ void RuntimeDyldELF::resolveRelocation(const SectionEntry &Section,
}
void RuntimeDyldELF::processRelocationRef(unsigned SectionID,
- relocation_iterator RelI,
+ RelocationRef RelI,
ObjectImage &Obj,
ObjSectionToIDMap &ObjSectionToID,
const SymbolTableMap &Symbols,
StubMap &Stubs) {
uint64_t RelType;
- Check(RelI->getType(RelType));
+ Check(RelI.getType(RelType));
int64_t Addend;
- Check(RelI->getAdditionalInfo(Addend));
+ Check(RelI.getAdditionalInfo(Addend));
SymbolRef Symbol;
- Check(RelI->getSymbol(Symbol));
+ Check(RelI.getSymbol(Symbol));
// Obtain the symbol name which is referenced in the relocation
StringRef TargetName;
@@ -667,7 +667,7 @@ void RuntimeDyldELF::processRelocationRef(unsigned SectionID,
}
}
uint64_t Offset;
- Check(RelI->getOffset(Offset));
+ Check(RelI.getOffset(Offset));
DEBUG(dbgs() << "\t\tSectionID: " << SectionID
<< " Offset: " << Offset
OpenPOWER on IntegriCloud