aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Object
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Object')
-rw-r--r--lib/Object/MachOObjectFile.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Object/MachOObjectFile.cpp b/lib/Object/MachOObjectFile.cpp
index c4abde8..6ad6bc1 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);
}