repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git]
/
llvm
/
test
/
MC
/
ELF
/
expand-var.s
blob
2cd27ec16c77d6d2737bcd451b68aa99416ece9c
1
//
RUN
:
llvm-mc
-
filetype
=
obj
-
triple x86_64-pc-linux
< %
s | llvm-readobj
-
r
--
symbols
-
| FileCheck
%
s
2
3
//
CHECK
:
Section
{{
.*}} .rela.text {
4
//
CHECK-NEXT
:
0x0
R_X86_64_32 d
0x0
5
//
CHECK-NEXT
: }
6
7
//
CHECK
:
Symbol
{
8
//
CHECK
:
Name
:
d2
9
//
CHECK-NEXT
:
Value
:
0x2A
10
11
a
:
12
b
=
a
13
c
=
a
14
d
=
a
15
.weak d
16
.long d + (b - c)
17
18
19
a2
:
20
.weak b2
21
b2
=
a2
22
c2
=
b2
-
a2
23
d2
=
b2
-
a2
+
42