diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-05 18:18:19 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-05 18:18:19 +0000 |
commit | c1cd6aa7a485933fa1b451c8df899ae78382b391 (patch) | |
tree | 281b83540e440de91f6f82df78f3b311e9ad167f /include/llvm/Object | |
parent | 5789a86f5cf9eada7759dc077b58da3970721815 (diff) | |
download | external_llvm-c1cd6aa7a485933fa1b451c8df899ae78382b391.zip external_llvm-c1cd6aa7a485933fa1b451c8df899ae78382b391.tar.gz external_llvm-c1cd6aa7a485933fa1b451c8df899ae78382b391.tar.bz2 |
Don't use InMemoryStruct in getSection and getSection64.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178894 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object')
-rw-r--r-- | include/llvm/Object/MachO.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/Object/MachO.h b/include/llvm/Object/MachO.h index 83e9c01..b5aa539 100644 --- a/include/llvm/Object/MachO.h +++ b/include/llvm/Object/MachO.h @@ -127,9 +127,8 @@ private: void getSymbol64TableEntry(DataRefImpl DRI, InMemoryStruct<macho::Symbol64TableEntry> &Res) const; void moveToNextSymbol(DataRefImpl &DRI) const; - void getSection(DataRefImpl DRI, InMemoryStruct<macho::Section> &Res) const; - void getSection64(DataRefImpl DRI, - InMemoryStruct<macho::Section64> &Res) const; + const macho::Section *getSection(DataRefImpl DRI) const; + const macho::Section64 *getSection64(DataRefImpl DRI) const; void getRelocation(DataRefImpl Rel, InMemoryStruct<macho::RelocationEntry> &Res) const; std::size_t getSectionIndex(DataRefImpl Sec) const; |