Plumb in the ARM thumb symbolizer in llvm-objdump’s Mach-O disassembler and

add the code and test cases for 32-bit ARM symbolizer.

Also fixed the printing of data in code as it was not using the table correctly
and needed to fix one of the test cases too.

This will break lld’s test/mach-o/arm-interworking-movw.yaml till the tweak
for that is made. Which I’ll be committing immediately after this commit.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221470 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Kevin Enderby
2014-11-06 19:00:13 +00:00
parent 6df2a3be33
commit 3b80486e3a
6 changed files with 259 additions and 25 deletions

View File

@@ -3,5 +3,5 @@ RUN: llvm-objdump -triple thumbv7-apple-iOS -disassemble %p/../Inputs/macho-data
CHECK: 12: 80 bd pop {r7, pc}
CHECK: 14: 38 00 00 00 .long 56 @ KIND_DATA
CHECK: 16: 00 00 movs r0, r0
CHECK: 18: 70 47 bx lr