diff options
Diffstat (limited to 'include/llvm/Object/MachO.h')
-rw-r--r-- | include/llvm/Object/MachO.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Object/MachO.h b/include/llvm/Object/MachO.h index 5c50ceb..07c8fc5 100644 --- a/include/llvm/Object/MachO.h +++ b/include/llvm/Object/MachO.h @@ -27,6 +27,11 @@ namespace llvm { namespace object { namespace MachOFormat { + struct SectionBase { + char Name[16]; + char SegmentName[16]; + }; + template<bool is64Bits> struct Section; @@ -254,6 +259,7 @@ private: typedef SmallVector<DataRefImpl, 1> SectionList; SectionList Sections; + const MachOFormat::SectionBase *getSectionBase(DataRefImpl DRI) const; void moveToNextSection(DataRefImpl &DRI) const; |