diff options
author | Owen Anderson <resistor@mac.com> | 2011-10-24 23:20:07 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2011-10-24 23:20:07 +0000 |
commit | d8fa76d4bed067cd8662c3196211bc90cc8d4470 (patch) | |
tree | d95842c82a00a7f783db69b6f16ef95c93cc0ddc /include | |
parent | 5c89cb8cd613c5a9d2bb2d6ab68afe8c2b41db70 (diff) | |
download | llvm-d8fa76d4bed067cd8662c3196211bc90cc8d4470.tar.gz llvm-d8fa76d4bed067cd8662c3196211bc90cc8d4470.tar.bz2 llvm-d8fa76d4bed067cd8662c3196211bc90cc8d4470.tar.xz |
More fixes and improvements to MachO relocation pretty-printing, particular for x86 and x86_64 relocations with addends.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142875 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Object/MachO.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Object/MachO.h b/include/llvm/Object/MachO.h index 0962994be2..1ae9372bbd 100644 --- a/include/llvm/Object/MachO.h +++ b/include/llvm/Object/MachO.h @@ -108,6 +108,8 @@ private: void getRelocation(DataRefImpl Rel, InMemoryStruct<macho::RelocationEntry> &Res) const; std::size_t getSectionIndex(DataRefImpl Sec) const; + + error_code getRelocationTargetName(uint32_t Idx, StringRef &S) const; }; } |