mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
7d570d46c1
GCC will accept any case for assembler directives. For example ".abort" and ".ABORT" (even ".aBoRt") are equivalent. https://sourceware.org/binutils/docs/as/Pseudo-Ops.html#Pseudo-Ops "The names are case insensitive for most targets, and usually written in lower case." Change llvm-mc to accept any case for generic directives or aliases of those directives. This for Bugzilla #39527. Differential Revision: https://reviews.llvm.org/D72686
17 lines
347 B
ArmAsm
17 lines
347 B
ArmAsm
# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
|
|
|
|
# CHECK: .byte 65
|
|
.ascii "A"
|
|
# CHECK: .byte 66
|
|
.ASCII "B"
|
|
# CHECK: .byte 67
|
|
.aScIi "C"
|
|
|
|
# Note: using 2byte because it is an alias
|
|
# CHECK: .short 4660
|
|
.2byte 0x1234
|
|
# CHECK: .short 4661
|
|
.2BYTE 0x1235
|
|
# CHECK: .short 4662
|
|
.2bYtE 0x1236
|