[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / icf-relro.s
blob874fa7b19f9748ee09fc9c8bfabf39224f73348a
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
3 # RUN: ld.lld %t -o /dev/null --icf=all --ignore-data-address-equality --print-icf-sections | FileCheck %s
5 # CHECK: selected section {{.*}}:(.data.rel.ro)
6 # CHECK: removing identical section {{.*}}:(.data.rel.ro.foo)
8 .section .data.rel.ro,"aw"
9 .quad foo
11 .section .data.rel.ro.foo,"aw"
12 foo:
13 .quad foo