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
[ELF] Make section member orders consistent
[llvm-project.git]
/
lld
/
test
/
ELF
/
icf6.s
blob
f01657e2f38b07c169cddbeda3846d683eee5486
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 .init,
"ax"
11
f1
:
12
mov $
60
, %
rax
13
mov $
42
, %
rdi
14
syscall
15
16
.section .fini,
"ax"
17
f2
:
18
mov $
60
, %
rax
19
mov $
42
, %
rdi
20
syscall