2013-12-20 15:21:16 +08:00
|
|
|
@ RUN: llvm-mc -triple thumbv7-linux-gnueabi -o - %s | FileCheck %s
|
|
|
|
|
|
|
|
.syntax unified
|
|
|
|
|
2016-01-26 08:27:59 +08:00
|
|
|
.p2align 2
|
2013-12-20 15:21:16 +08:00
|
|
|
.global pool
|
|
|
|
.type pool,%function
|
|
|
|
pool:
|
|
|
|
ldr r0, =0xba5eba11
|
|
|
|
bx lr
|
|
|
|
.pool
|
|
|
|
|
|
|
|
@ CHECK-LABEL: pool
|
|
|
|
@ CHECK: ldr r0, .Ltmp0
|
2016-01-26 08:27:59 +08:00
|
|
|
@ CHECK: .p2align 2
|
2013-12-20 15:21:16 +08:00
|
|
|
@ CHECK-LABEL: .Ltmp0:
|
|
|
|
@ CHECK: .long 3126770193
|
|
|
|
|
2014-04-17 00:45:18 +08:00
|
|
|
|