projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5cd41e
)
Fixed a bug in llvm-objdump when disassembling using -macho option for a binary
author
Kevin Enderby
<enderby@apple.com>
Tue, 15 May 2012 18:57:14 +0000
(18:57 +0000)
committer
Kevin Enderby
<enderby@apple.com>
Tue, 15 May 2012 18:57:14 +0000
(18:57 +0000)
that has more than one symbol. The last symbol was not being disassembled to
the end of the section.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156840
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-objdump/MachODump.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-objdump/MachODump.cpp
b/tools/llvm-objdump/MachODump.cpp
index 0e7f3fdebebcf3ef60e8d269c4e60c2dcda7c596..60c33f27892313e3396c08bae9212da81c90ec92 100644
(file)
--- a/
tools/llvm-objdump/MachODump.cpp
+++ b/
tools/llvm-objdump/MachODump.cpp
@@
-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 =
tru
e;
+ bool containsNextSym =
fals
e;
uint64_t NextSym = 0;
uint64_t NextSymIdx = SymIdx+1;
while (Symbols.size() > NextSymIdx) {