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
[llvm] Do not replace dead constant references in metadata with undef
[llvm-project.git]
/
lld
/
test
/
ELF
/
relocation-common.s
blob
1e3942b17630149ab375cad78a1450b774fb4b87
1
# REQUIRES: x86
2
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3
# RUN: ld.lld %t.o -o %t
4
# RUN: llvm-objdump -t -d %t | FileCheck %s
5
6
.global _start
7
_start
:
8
movl $
1
,
sym1
(%
rip
)
9
10
.global sym1
11
.comm sym1,4,4
12
13
# CHECK: 0000000000202164 g O .bss 0000000000000004 sym1
14
# CHECK: 201158: {{.*}} movl $1, 4098(%rip)