[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / icf-merge-sec.s
blob060f19d346945bdb62eea57d26fdc4878e940c10
1 # REQUIRES: x86
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
4 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %S/Inputs/icf-merge-sec.s -o %t2
5 # RUN: ld.lld %t %t2 -o /dev/null --icf=all --print-icf-sections | FileCheck %s
7 # CHECK: selected section {{.*}}:(.text.f1)
8 # CHECK: removing identical section {{.*}}:(.text.f2)
10 .section .rodata.str,"aMS",@progbits,1
11 .asciz "foo"
12 .asciz "string 1"
13 .asciz "string 2"
15 .section .text.f1,"ax"
16 .globl f1
17 f1:
18 .quad .rodata.str