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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
lld
/
test
/
ELF
/
icf5.s
blob
068ed7f08102ea3d7f2ced39c64f6cd8d4d7d953
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 $
0
, %
rax
13
14
.section .text.f2,
"awx"
15
f2
:
16
mov $
0
, %
rax