diff options
Diffstat (limited to 'test/MC/ARM/pool.s')
-rw-r--r-- | test/MC/ARM/pool.s | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/MC/ARM/pool.s b/test/MC/ARM/pool.s new file mode 100644 index 0000000..926b4f1 --- /dev/null +++ b/test/MC/ARM/pool.s @@ -0,0 +1,18 @@ +@ RUN: llvm-mc -triple thumbv7-linux-gnueabi -o - %s | FileCheck %s + + .syntax unified + + .align 2 + .global pool + .type pool,%function +pool: + ldr r0, =0xba5eba11 + bx lr + .pool + +@ CHECK-LABEL: pool +@ CHECK: ldr r0, .Ltmp0 +@ CHECK: .align 2 +@ CHECK-LABEL: .Ltmp0: +@ CHECK: .long 3126770193 + |