git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139343
91177308-0d34-0410-b5e6-
96231b3b80d8
uint32_t LoadCommandCount = MachOObj->getHeader().NumLoadCommands;
while (DRI.d.a < LoadCommandCount) {
Sections.push_back(DRI);
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);
}
DRI.d.b++;
moveToNextSection(DRI);
}