diff --git a/lib/Object/MachOObjectFile.cpp b/lib/Object/MachOObjectFile.cpp index c4abde8abc5..6ad6bc18f12 100644 --- a/lib/Object/MachOObjectFile.cpp +++ b/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 Sect; - getSection(DRI, Sect); DRI.d.b++; moveToNextSection(DRI); }