llvm-6502/test/MC/ARM/pool.s
Saleem Abdulrasool 6692ce18e8 ARM IAS: add support for the .pool directive
The .pool directive is an alias for the .ltorg directive used to create a
literal pool.  Simply treat .pool as if .ltorg was passed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197787 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-20 07:21:16 +00:00

19 lines
287 B
ArmAsm

@ 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