mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
e150b07b71
- Uses MCAsmToken::getIdentifier which returns the (sub)string representing the meaningfull contents a string or identifier token. - Directives aren't done yet. llvm-svn: 77739
27 lines
499 B
ArmAsm
27 lines
499 B
ArmAsm
// RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
|
|
|
|
.data:
|
|
// CHECK: a:
|
|
a:
|
|
.long 0
|
|
// CHECK: b:
|
|
"b":
|
|
.long 0
|
|
// FIXME(quoting): CHECK: a$b:
|
|
"a$b":
|
|
.long 0
|
|
|
|
.text:
|
|
foo:
|
|
// FIXME(quoting): CHECK: val:a$b
|
|
addl $24, "a$b"(%eax)
|
|
// FIXME(quoting): CHECK: val:a$b + 10
|
|
addl $24, ("a$b" + 10)(%eax)
|
|
|
|
// FIXME(quoting): CHECK: b$c = 10
|
|
"b$c" = 10
|
|
// FIXME(quoting): CHECK: val:10
|
|
addl "b$c", %eax
|
|
|
|
|