brintos

brintos / llvm-project-archived public Read only

0
0
Text · 472 B · 3eef7a2 Raw
21 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t4# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %S/Inputs/icf-absolute.s -o %t25# RUN: ld.lld %t %t2 -o /dev/null --icf=all --print-icf-sections | FileCheck %s6 7# CHECK: selected section {{.*}}:(.text.f1)8# CHECK:   removing identical section {{.*}}:(.text.f2)9 10.globl _start, f1, f211_start:12  ret13 14.section .text.f1, "ax"15f1:16  .byte a117 18.section .text.f2, "ax"19f2:20  .byte a221