mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 21:20:37 +00:00
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139343 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
58856eae16
commit
d40b0b0a06
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user