From d8fa76d4bed067cd8662c3196211bc90cc8d4470 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Mon, 24 Oct 2011 23:20:07 +0000 Subject: 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 --- include/llvm/Object/MachO.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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 &Res) const; std::size_t getSectionIndex(DataRefImpl Sec) const; + + error_code getRelocationTargetName(uint32_t Idx, StringRef &S) const; }; } -- cgit v1.2.3