mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
ae32556167
GAS ignores the aforementioned issue this patch aligns LLVM + throws in an appropriate warning Differential Revision: https://reviews.llvm.org/D36060 llvm-svn: 309841
22 lines
428 B
ArmAsm
22 lines
428 B
ArmAsm
# RUN: not llvm-mc -triple i386-apple-darwin9 %s 2> %t.err | FileCheck %s
|
|
# RUN: FileCheck < %t.err %s --check-prefix=CHECK-WARN
|
|
|
|
# CHECK: TEST0:
|
|
# CHECK: .p2align 1
|
|
TEST0:
|
|
.align 1
|
|
|
|
# CHECK: TEST1:
|
|
# CHECK: .p2alignl 3, 0x0, 2
|
|
TEST1:
|
|
.align32 3,,2
|
|
|
|
# CHECK: TEST2:
|
|
# CHECK: .balign 3, 10
|
|
TEST2:
|
|
.balign 3,10
|
|
|
|
# CHECK-WARN: p2align directive with no operand(s) is ignored
|
|
TEST3:
|
|
.p2align
|