mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178977 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
eb721c0fbd
commit
13d297260f
@ -273,23 +273,6 @@ void llvm::DisassembleInputMachO(StringRef Filename) {
|
||||
|
||||
const macho::Header &Header = MachOObj->getHeader();
|
||||
|
||||
const MachOObject::LoadCommandInfo *SymtabLCI = 0;
|
||||
// First, find the symbol table segment.
|
||||
for (unsigned i = 0; i != Header.NumLoadCommands; ++i) {
|
||||
const MachOObject::LoadCommandInfo &LCI = MachOObj->getLoadCommandInfo(i);
|
||||
if (LCI.Command.Type == macho::LCT_Symtab) {
|
||||
SymtabLCI = &LCI;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// Read and register the symbol table data.
|
||||
InMemoryStruct<macho::SymtabLoadCommand> SymtabLC;
|
||||
if (SymtabLCI) {
|
||||
MachOObj->ReadSymtabLoadCommand(*SymtabLCI, SymtabLC);
|
||||
MachOObj->RegisterStringTable(*SymtabLC);
|
||||
}
|
||||
|
||||
std::vector<SectionRef> Sections;
|
||||
std::vector<SymbolRef> Symbols;
|
||||
SmallVector<uint64_t, 8> FoundFns;
|
||||
|
Loading…
Reference in New Issue
Block a user