projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
llvm-mc: Fix .s output to quote section & symbol names when necessary.
[oota-llvm.git]
/
test
/
MC
/
AsmParser
/
labels.s
1
// RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
2
3
.data:
4
// CHECK: a:
5
a:
6
.long 0
7
// CHECK: b:
8
"b":
9
.long 0
10
// CHECK: "a$b":
11
"a$b":
12
.long 0
13
14
.text:
15
foo:
16
// CHECK: val:"a$b"
17
addl $24, "a$b"(%eax)
18
// CHECK: val:"a$b" + 10
19
addl $24, ("a$b" + 10)(%eax)
20
21
// CHECK: "b$c" = 10
22
"b$c" = 10
23
// CHECK: val:10
24
addl "b$c", %eax
25
26