diff --git a/llvm/tools/llvm-objdump/MachODump.cpp b/llvm/tools/llvm-objdump/MachODump.cpp index e9d2b3b1a8a1..ee4711fb3400 100644 --- a/llvm/tools/llvm-objdump/MachODump.cpp +++ b/llvm/tools/llvm-objdump/MachODump.cpp @@ -201,7 +201,6 @@ static void emitDOTFile(const char *FileName, const MCFunction &f, static void getSectionsAndSymbols(const macho::Header &Header, MachOObjectFile *MachOObj, - InMemoryStruct *SymtabLC, std::vector &Sections, std::vector &Symbols, SmallVectorImpl &FoundFns) { @@ -295,8 +294,7 @@ void llvm::DisassembleInputMachO(StringRef Filename) { std::vector Symbols; SmallVector FoundFns; - getSectionsAndSymbols(Header, MachOOF.get(), &SymtabLC, Sections, Symbols, - FoundFns); + getSectionsAndSymbols(Header, MachOOF.get(), Sections, Symbols, FoundFns); // Make a copy of the unsorted symbol list. FIXME: duplication std::vector UnsortedSymbols(Symbols);