32 lines · plain
1# RUN: llvm-mc -filetype=obj -triple=i386-unknown-unknown %s -o %t2# RUN: llvm-objdump -r -D --section .text.bar --triple=i386-unknown-unknown-code16 %t | FileCheck --check-prefix=CHECK16 %s3# RUN: llvm-objdump -r -D --section .text.baz --triple=i386-unknown-unknown %t | FileCheck --check-prefix=CHECK32 %s 4 .text5 .section .text.foo,"",@progbits6 7 .code168 .globl foo9foo:10 nop11 12 .section .text.bar,"",@progbits13 .globl bar1614bar16:15 jmp foo16 17 .section .text.baz,"",@progbits18 .code3219 .globl baz3220baz32:21 jmp foo22 23 24 25 26// CHECK16-LABEL: bar1627// CHECK16-NEXT: e9 fe ff jmp 0x1 <bar16+0x1>28// CHECK32-LABEL: baz3229// CHECK32-NEXT: e9 fc ff ff ff jmp 0x1 <baz32+0x1>30 31 32