diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-29 14:44:23 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-29 14:44:23 +0000 |
commit | efa91f6475f6e96552986104ab4857db46185a2a (patch) | |
tree | ca2131ee0a54a67ba719e01fb4ff990191e1d8e7 /lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h | |
parent | f4fc9b175306a49c3d3c72f1e9e08f8ea2038c51 (diff) | |
download | llvm-efa91f6475f6e96552986104ab4857db46185a2a.tar.gz llvm-efa91f6475f6e96552986104ab4857db46185a2a.tar.bz2 llvm-efa91f6475f6e96552986104ab4857db46185a2a.tar.xz |
Replace ObjRelocationInfo with relocation_iterator.
For MachO we need information that is not represented in ObjRelocationInfo.
Instead of copying the bits we think are needed from a relocation_iterator,
just pass the relocation_iterator down to the format specific functions.
No functionality change yet as we still drop the information once
processRelocationRef returns.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h')
-rw-r--r-- | lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h index f581b3f824..8f1658cbdf 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h +++ b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h @@ -48,7 +48,8 @@ protected: unsigned Size, int64_t Addend); - virtual void processRelocationRef(const ObjRelocationInfo &Rel, + virtual void processRelocationRef(unsigned SectionID, + relocation_iterator RelI, ObjectImage &Obj, ObjSectionToIDMap &ObjSectionToID, const SymbolTableMap &Symbols, |