From 196abbffe9b7a760593d68b99cbb5f961efc8e2a Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Sun, 7 Apr 2013 14:40:18 +0000 Subject: Remove last use of InMemoryStruct in llvm-objdump. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178979 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Object/MachO.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/llvm/Object/MachO.h') diff --git a/include/llvm/Object/MachO.h b/include/llvm/Object/MachO.h index 8543ecc829..f026e6c69d 100644 --- a/include/llvm/Object/MachO.h +++ b/include/llvm/Object/MachO.h @@ -113,6 +113,13 @@ namespace MachOFormat { support::ulittle32_t NumSections; support::ulittle32_t Flags; }; + + struct LinkeditDataLoadCommand { + support::ulittle32_t Type; + support::ulittle32_t Size; + support::ulittle32_t DataOffset; + support::ulittle32_t DataSize; + }; } typedef MachOObject::LoadCommandInfo LoadCommandInfo; @@ -145,6 +152,9 @@ public: ArrayRef getSectionRawName(DataRefImpl Sec) const; ArrayRefgetSectionRawFinalSegmentName(DataRefImpl Sec) const; + const MachOFormat::LinkeditDataLoadCommand * + getLinkeditDataLoadCommand(LoadCommandInfo LCI) const; + MachOObject *getObject() { return MachOObj.get(); } static inline bool classof(const Binary *v) { -- cgit v1.2.3