summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
-rw-r--r--llvm/lib/Object/MachOObjectFile.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/Object/MachOObjectFile.cpp b/llvm/lib/Object/MachOObjectFile.cpp
index c4abde8abc5..6ad6bc18f12 100644
--- a/llvm/lib/Object/MachOObjectFile.cpp
+++ b/llvm/lib/Object/MachOObjectFile.cpp
@@ -104,14 +104,6 @@ MachOObjectFile::MachOObjectFile(MemoryBuffer *Object, MachOObject *MOO,
uint32_t LoadCommandCount = MachOObj->getHeader().NumLoadCommands;
while (DRI.d.a < LoadCommandCount) {
Sections.push_back(DRI);
- uint64_t Addr;
- uint64_t Size;
- StringRef Name;
- getSectionAddress(DRI, Addr);
- getSectionSize(DRI, Size);
- getSectionName(DRI, Name);
- InMemoryStruct<macho::Section> Sect;
- getSection(DRI, Sect);
DRI.d.b++;
moveToNextSection(DRI);
}
OpenPOWER on IntegriCloud