Fix an off-by-one bug in the target independent llvm-objdump.
authorRafael Espindola <rafael.espindola@gmail.com>
Sun, 17 Aug 2014 16:31:39 +0000 (16:31 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sun, 17 Aug 2014 16:31:39 +0000 (16:31 +0000)
commit4c511cd88fa3bd986227122f36af6fbcdceb2b33
treeeaed9593c546cfe8362c856df116d87cc7f35a12
parent36d685d8e8cc6d9ef3a2fc54f0ab62caf6e9427c
Fix an off-by-one bug in the target independent llvm-objdump.

It would prevent the display of a single byte instruction before a label.

Patch by Steve King!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215837 91177308-0d34-0410-b5e6-96231b3b80d8
test/Object/Inputs/trivial-label-test.elf-x86-64 [new file with mode: 0644]
test/Object/X86/objdump-label.test [new file with mode: 0644]
tools/llvm-objdump/llvm-objdump.cpp