## Check that the disassembler reports the target address of a Thumb BLX(i) ## instruction correctly even if the instruction is not 32-bit aligned. # RUN: llvm-mc %s --triple=armv8a -filetype=obj | \ # RUN: llvm-objdump --no-print-imm-hex -dr - --triple armv8a --no-show-raw-insn | \ # RUN: FileCheck %s # CHECK: 00000000 : # CHECK: 00000004 : # CHECK-NEXT: 4: nop # CHECK-NEXT: 6: blx 0x0 @ imm = #-8 # CHECK-NEXT: a: blx 0x10 @ imm = #4 # CHECK: 00000010 : .arm foo: nop .thumb test: nop blx #-8 blx #4 .arm .p2align 2 bar: nop