summaryrefslogtreecommitdiff
path: root/include/llvm/Object
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-04-07 15:35:18 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-04-07 15:35:18 +0000
commit1efa60453be658242f468f4be4f8d4855ace60d1 (patch)
treeae4a77e9250020b99ea20e475848b4a7474335da /include/llvm/Object
parent6e43efe071c5bfaa5cebf4d42d93d0f117c1aa2a (diff)
downloadllvm-1efa60453be658242f468f4be4f8d4855ace60d1.tar.gz
llvm-1efa60453be658242f468f4be4f8d4855ace60d1.tar.bz2
llvm-1efa60453be658242f468f4be4f8d4855ace60d1.tar.xz
Remove usage of InMemoryStruct in getSymbol.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178984 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object')
-rw-r--r--include/llvm/Object/MachO.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/llvm/Object/MachO.h b/include/llvm/Object/MachO.h
index ba0ffa8b32..aeb6bd3dc8 100644
--- a/include/llvm/Object/MachO.h
+++ b/include/llvm/Object/MachO.h
@@ -156,6 +156,10 @@ public:
getLinkeditDataLoadCommand(LoadCommandInfo LCI) const;
const MachOFormat::Section64 *getSection64(DataRefImpl DRI) const;
const MachOFormat::Section *getSection(DataRefImpl DRI) const;
+ const MachOFormat::Symbol64TableEntry *
+ getSymbol64TableEntry(DataRefImpl DRI) const;
+ const MachOFormat::SymbolTableEntry *
+ getSymbolTableEntry(DataRefImpl DRI) const;
const MachOObject *getObject() const { return MachOObj.get(); }
@@ -225,16 +229,10 @@ private:
void moveToNextSection(DataRefImpl &DRI) const;
const MachOFormat::SymbolTableEntry *
- getSymbolTableEntry(DataRefImpl DRI) const;
-
- const MachOFormat::SymbolTableEntry *
getSymbolTableEntry(DataRefImpl DRI,
const MachOFormat::SymtabLoadCommand *SymtabLoadCmd) const;
const MachOFormat::Symbol64TableEntry *
- getSymbol64TableEntry(DataRefImpl DRI) const;
-
- const MachOFormat::Symbol64TableEntry *
getSymbol64TableEntry(DataRefImpl DRI,
const MachOFormat::SymtabLoadCommand *SymtabLoadCmd) const;