]> granicus.if.org Git - llvm/commit
Fix a bug in llvm-obdump(1) with the -macho and -disassemble options
authorKevin Enderby <enderby@apple.com>
Mon, 6 Feb 2017 18:43:18 +0000 (18:43 +0000)
committerKevin Enderby <enderby@apple.com>
Mon, 6 Feb 2017 18:43:18 +0000 (18:43 +0000)
commit91a32fe4a44406f8555c9be19c80fc38bb0116aa
tree51022e87314f67fd7d9dcf6e8b1a042de61b0bb9
parent058101e7dcfec2e42a77e107a9301eccc939aed9
Fix a bug in llvm-obdump(1) with the -macho and -disassemble options
which caused it to not disassemble the bytes a the start of the section if
the section had symbols and the first symbol was not at the start of the
section.

rdar://30143243

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294212 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objdump/X86/Inputs/nofirst-symbol.macho-x86_64 [new file with mode: 0644]
test/tools/llvm-objdump/X86/macho-nofirst-symbol-disassembly.test [new file with mode: 0644]
tools/llvm-objdump/MachODump.cpp