• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# REQUIRES: x86
2
3# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
4# RUN: ld.lld %t.o -o %t --icf=all --print-icf-sections | count 0
5
6.section .foo,"a",@progbits,unique,1
7foo1:
8.byte 1
9
10.section .foo,"a",@progbits,unique,2
11foo2:
12.byte 2
13
14.section .bar,"ao",@progbits,foo1,unique,1
15.byte 3
16
17.section .bar,"ao",@progbits,foo2,unique,2
18.byte 3
19