brintos

brintos / llvm-project-archived public Read only

0
0
Text · 594 B · 67c7262 Raw
26 lines · plain
1# REQUIRES: x862# This test is to make sure that we can handle implicit addends properly.3 4# RUN: llvm-mc -filetype=obj -triple=i386-unknown-linux %s -o %t5# RUN: ld.lld %t -o /dev/null --icf=all --print-icf-sections 2>&1 | FileCheck %s6 7# CHECK:     selected section {{.*}}:(.text.f1)8# CHECK:       removing identical section {{.*}}:(.text.f2)9# CHECK-NOT:   removing identical section {{.*}}:(.text.f3)10 11.globl _start, f1, f2, f312_start:13  ret14 15.section .text.f1, "ax"16f1:17  movl $42, 4(%edi)18 19.section .text.f2, "ax"20f2:21  movl $42, 4(%edi)22 23.section .text.f3, "ax"24f3:25  movl $42, 8(%edi)26