| 1 |
# RUN: llvm-mc -triple=i686-nacl -filetype=obj %s -o - \ |
| 2 |
# RUN: | llvm-objdump --no-print-imm-hex -d --no-show-raw-insn - | FileCheck %s |
| 3 |
# RUN: llvm-mc -triple=i686-nacl -filetype=obj -mc-relax-all %s -o - \ |
| 4 |
# RUN: | llvm-objdump --no-print-imm-hex -d --no-show-raw-insn - | FileCheck %s |
| 5 |
|
| 6 |
.bundle_align_mode 5 |
| 7 |
.text |
| 8 |
.align 32, 0x90 |
| 9 |
# CHECK: 0: movl $14, 8(%esp) |
| 10 |
movl $.str2, 8(%esp) |
| 11 |
# CHECK: 8: movl $7, 4(%esp) |
| 12 |
movl $.str1, 4(%esp) |
| 13 |
# CHECK: 10: movl $0, (%esp) |
| 14 |
movl $.str, (%esp) |
| 15 |
|
| 16 |
.type .str,@object |
| 17 |
.section .rodata,"a",@progbits |
| 18 |
.str: |
| 19 |
.asciz "hello1" |
| 20 |
.size .str, 7 |
| 21 |
|
| 22 |
.type .str1,@object |
| 23 |
.str1: |
| 24 |
.asciz "hello2" |
| 25 |
.size .str1, 7 |
| 26 |
|
| 27 |
.type .str2,@object |
| 28 |
.str2: |
| 29 |
.asciz "hello3" |
| 30 |
.size .str2, 7 |