forked from OSchip/llvm-project
Fixed a bug in llvm-objdump when disassembling using -macho option for a binary
that has more than one symbol. The last symbol was not being disassembled to the end of the section. llvm-svn: 156840
This commit is contained in:
parent
c364d68bf2
commit
edd5872f33
|
@ -430,7 +430,7 @@ void llvm::DisassembleInputMachO(StringRef Filename) {
|
|||
|
||||
// Stop disassembling either at the beginning of the next symbol or at
|
||||
// the end of the section.
|
||||
bool containsNextSym = true;
|
||||
bool containsNextSym = false;
|
||||
uint64_t NextSym = 0;
|
||||
uint64_t NextSymIdx = SymIdx+1;
|
||||
while (Symbols.size() > NextSymIdx) {
|
||||
|
|
Loading…
Reference in New Issue