14 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t3# RUN: ld.lld %t -o /dev/null --icf=all --ignore-data-address-equality --print-icf-sections | FileCheck %s4 5# CHECK: selected section {{.*}}:(.data.rel.ro)6# CHECK: removing identical section {{.*}}:(.data.rel.ro.foo)7 8.section .data.rel.ro,"aw"9.quad foo10 11.section .data.rel.ro.foo,"aw"12foo:13.quad foo14