aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Object/MachOObject.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-11-27 13:33:15 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-11-27 13:33:15 +0000
commit2acadbddf6783055249da9fc9ea40a05b83ce56a (patch)
tree66029f05821ca67519974dd0d0a31f5280dfb7b0 /include/llvm/Object/MachOObject.h
parent4c55e0db0f0a095dcd76326bef24d0fe05d2a5e4 (diff)
macho-dump: Add support for dumping sections.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120215 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object/MachOObject.h')
-rw-r--r--include/llvm/Object/MachOObject.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Object/MachOObject.h b/include/llvm/Object/MachOObject.h
index 79fbfd21b6..77a8d3592e 100644
--- a/include/llvm/Object/MachOObject.h
+++ b/include/llvm/Object/MachOObject.h
@@ -129,6 +129,14 @@ public:
const macho::DysymtabLoadCommand &DLC,
unsigned Index,
InMemoryStruct<macho::IndirectSymbolTableEntry> &Res) const;
+ void ReadSection(
+ const LoadCommandInfo &LCI,
+ unsigned Index,
+ InMemoryStruct<macho::Section> &Res) const;
+ void ReadSection64(
+ const LoadCommandInfo &LCI,
+ unsigned Index,
+ InMemoryStruct<macho::Section64> &Res) const;
/// @}
};