summaryrefslogtreecommitdiff
path: root/include/llvm/Object
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-04-07 15:05:12 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-04-07 15:05:12 +0000
commit7ea2e4869496fb27876d35b93fe99397be29b978 (patch)
treedcae71ea785feb5488bd31e4d06d96cbf737116c /include/llvm/Object
parent305b826f92e0dc7b670238e7caa35ab6e1cf341a (diff)
downloadllvm-7ea2e4869496fb27876d35b93fe99397be29b978.tar.gz
llvm-7ea2e4869496fb27876d35b93fe99397be29b978.tar.bz2
llvm-7ea2e4869496fb27876d35b93fe99397be29b978.tar.xz
Remove a use of InMemoryStruct in llvm-readobj.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178981 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object')
-rw-r--r--include/llvm/Object/MachO.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Object/MachO.h b/include/llvm/Object/MachO.h
index 41484485e4..ba0ffa8b32 100644
--- a/include/llvm/Object/MachO.h
+++ b/include/llvm/Object/MachO.h
@@ -154,6 +154,8 @@ public:
const MachOFormat::LinkeditDataLoadCommand *
getLinkeditDataLoadCommand(LoadCommandInfo LCI) const;
+ const MachOFormat::Section64 *getSection64(DataRefImpl DRI) const;
+ const MachOFormat::Section *getSection(DataRefImpl DRI) const;
const MachOObject *getObject() const { return MachOObj.get(); }
@@ -237,8 +239,6 @@ private:
const MachOFormat::SymtabLoadCommand *SymtabLoadCmd) const;
void moveToNextSymbol(DataRefImpl &DRI) const;
- const MachOFormat::Section *getSection(DataRefImpl DRI) const;
- const MachOFormat::Section64 *getSection64(DataRefImpl DRI) const;
const MachOFormat::RelocationEntry *getRelocation(DataRefImpl Rel) const;
const MachOFormat::SymtabLoadCommand *
getSymtabLoadCommand(LoadCommandInfo LCI) const;