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
/
icf4.s
blob
ff13a7ebff3da864600ef513766ddeb1ea4e8490
1
# REQUIRES: x86
2
3
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
4
# RUN: ld.lld %t -o /dev/null --icf=all --print-icf-sections | count 0
5
6
.globl _start, f1, f2
7
_start
:
8
ret
9
10
.section .text.f1,
"ax"
11
f1
:
12
mov $
1
, %
rax
13
14
.section .text.f2,
"ax"
15
f2
:
16
mov $
0
, %
rax