diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Object/MachO.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Object/MachO.h b/include/llvm/Object/MachO.h index fc2e10e042..c6454ffeee 100644 --- a/include/llvm/Object/MachO.h +++ b/include/llvm/Object/MachO.h @@ -18,6 +18,7 @@ #include "llvm/Object/ObjectFile.h" #include "llvm/Object/MachOObject.h" #include "llvm/Support/MachO.h" +#include "llvm/Support/raw_ostream.h" #include "llvm/ADT/SmallVector.h" namespace llvm { @@ -110,7 +111,8 @@ private: InMemoryStruct<macho::RelocationEntry> &Res) const; std::size_t getSectionIndex(DataRefImpl Sec) const; - error_code getRelocationTargetName(uint32_t Idx, StringRef &S) const; + void printRelocationTargetName(InMemoryStruct<macho::RelocationEntry>& RE, + raw_string_ostream &fmt) const; }; } |