diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-06 02:15:44 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-06 02:15:44 +0000 |
commit | 05b5bdd024d07e7a62f1cdc39f465e10ce5dbc6d (patch) | |
tree | 2404650f1570f084c4ba5c9e7439c48fd16c7efe /include | |
parent | 00555c13be54b7933cf5a68b50f8a7494bcd5777 (diff) | |
download | llvm-05b5bdd024d07e7a62f1cdc39f465e10ce5dbc6d.tar.gz llvm-05b5bdd024d07e7a62f1cdc39f465e10ce5dbc6d.tar.bz2 llvm-05b5bdd024d07e7a62f1cdc39f465e10ce5dbc6d.tar.xz |
Don't use InMemoryStruct in getSymbol64TableEntry.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178946 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Object/MachO.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/llvm/Object/MachO.h b/include/llvm/Object/MachO.h index 70d7f6ee8a..1da9a912d3 100644 --- a/include/llvm/Object/MachO.h +++ b/include/llvm/Object/MachO.h @@ -69,6 +69,13 @@ namespace MachOFormat { support::ulittle32_t Value; }; + struct Symbol64TableEntry { + support::ulittle32_t StringIndex; + uint8_t Type; + uint8_t SectionIndex; + support::ulittle16_t Flags; + support::ulittle64_t Value; + }; } typedef MachOObject::LoadCommandInfo LoadCommandInfo; @@ -170,8 +177,8 @@ private: void moveToNextSection(DataRefImpl &DRI) const; const MachOFormat::SymbolTableEntry * getSymbolTableEntry(DataRefImpl DRI) const; - void getSymbol64TableEntry(DataRefImpl DRI, - InMemoryStruct<macho::Symbol64TableEntry> &Res) const; + const MachOFormat::Symbol64TableEntry * + getSymbol64TableEntry(DataRefImpl DRI) const; void moveToNextSymbol(DataRefImpl &DRI) const; const MachOFormat::Section *getSection(DataRefImpl DRI) const; const MachOFormat::Section64 *getSection64(DataRefImpl DRI) const; |