diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-29 19:03:21 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-29 19:03:21 +0000 |
commit | ca0e73610056110e9a175c14dd82d6d616fd830f (patch) | |
tree | 23b6f336b92dfa75f52e70c5209b2a45be8cab1e /lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | |
parent | f2e83499fcc41484cb5dac073c4fe87525926d2b (diff) | |
download | external_llvm-ca0e73610056110e9a175c14dd82d6d616fd830f.zip external_llvm-ca0e73610056110e9a175c14dd82d6d616fd830f.tar.gz external_llvm-ca0e73610056110e9a175c14dd82d6d616fd830f.tar.bz2 |
Use a RelocationRef instead of a relocation_iterator.
No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180723 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp')
-rw-r--r-- | lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp index d52bcad..ef4a405 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp +++ b/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 |