summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/icf-different-output-sections.s
blob: 085573120e4e9218939011083d73b3d469623f9d (plain)
1
2
3
4
5
6
7
8
9
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: ld.lld %t -o /dev/null --icf=all --print-icf-sections | count 0

.section .foo,"ax"
.byte 42

.section .bar,"ax"
.byte 42
OpenPOWER on IntegriCloud