diff options
Diffstat (limited to 'include/llvm/Object/MachO.h')
-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 37ecad0eed..4cdf091fc1 100644 --- a/include/llvm/Object/MachO.h +++ b/include/llvm/Object/MachO.h @@ -165,6 +165,8 @@ public: const MachOFormat::LoadCommand *getLoadCommandInfo(unsigned Index) const; void ReadULEB128s(uint64_t Index, SmallVectorImpl<uint64_t> &Out) const; const macho::Header &getHeader() const; + unsigned getHeaderSize() const; + StringRef getData(size_t Offset, size_t Size) const; static inline bool classof(const Binary *v) { return v->isMachO(); |