diff options
Diffstat (limited to 'lib/Object/MachOObjectFile.cpp')
-rw-r--r-- | lib/Object/MachOObjectFile.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Object/MachOObjectFile.cpp b/lib/Object/MachOObjectFile.cpp index c4abde8abc..6ad6bc18f1 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<macho::Section> Sect; - getSection(DRI, Sect); DRI.d.b++; moveToNextSection(DRI); } |