Skip to content

Commit

Permalink
Remove unused argument.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178976 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
espindola committed Apr 7, 2013
1 parent 05c7e7f commit eb721c0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/llvm-objdump/MachODump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ static void emitDOTFile(const char *FileName, const MCFunction &f,

static void getSectionsAndSymbols(const macho::Header &Header,
MachOObjectFile *MachOObj,
InMemoryStruct<macho::SymtabLoadCommand> *SymtabLC,
std::vector<SectionRef> &Sections,
std::vector<SymbolRef> &Symbols,
SmallVectorImpl<uint64_t> &FoundFns) {
Expand Down Expand Up @@ -295,8 +294,7 @@ void llvm::DisassembleInputMachO(StringRef Filename) {
std::vector<SymbolRef> Symbols;
SmallVector<uint64_t, 8> 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<SymbolRef> UnsortedSymbols(Symbols);
Expand Down

0 comments on commit eb721c0

Please sign in to comment.