diff options
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Object/MachOFormat.h | 9 | ||||
-rw-r--r-- | include/llvm/Object/MachOObject.h | 4 |
2 files changed, 13 insertions, 0 deletions
diff --git a/include/llvm/Object/MachOFormat.h b/include/llvm/Object/MachOFormat.h index 9e18d2f..a6f0afb 100644 --- a/include/llvm/Object/MachOFormat.h +++ b/include/llvm/Object/MachOFormat.h @@ -220,6 +220,15 @@ namespace macho { /// @} + /// @name Indirect Symbol Table + /// @{ + + struct IndirectSymbolTableEntry { + uint32_t Index; + }; + + /// @} + // See <mach-o/nlist.h>. enum SymbolTypeType { STT_Undefined = 0x00, diff --git a/include/llvm/Object/MachOObject.h b/include/llvm/Object/MachOObject.h index 9006581..79fbfd2 100644 --- a/include/llvm/Object/MachOObject.h +++ b/include/llvm/Object/MachOObject.h @@ -125,6 +125,10 @@ public: void ReadDysymtabLoadCommand( const LoadCommandInfo &LCI, InMemoryStruct<macho::DysymtabLoadCommand> &Res) const; + void ReadIndirectSymbolTableEntry( + const macho::DysymtabLoadCommand &DLC, + unsigned Index, + InMemoryStruct<macho::IndirectSymbolTableEntry> &Res) const; /// @} }; |