summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/icf17.s
blob: cab5c12d214e5956a9001f1bd2bdd3bd15f58176 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1
# RUN: ld.lld %t1 -o /dev/null --icf=all --print-icf-sections 2>&1 | FileCheck -allow-empty %s

# CHECK-NOT: selected

.section .text
.globl _start
_start:
  ret

.section .aaa, "ax",%progbits,unique,1
.quad _start

.section .aaa, "axS",%progbits,unique,2
.quad _start
OpenPOWER on IntegriCloud