22 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-absolute2.s -o %t25# RUN: ld.lld %t %t2 -o /dev/null --icf=all --print-icf-sections | FileCheck -allow-empty %s6 7## Test we do not crash and do not fold sections which relocations referring to8## absolute symbols with a different values.9# CHECK-NOT: selected10 11.globl _start, f1, f212_start:13 ret14 15.section .text.f1, "ax"16f1:17 .byte a118 19.section .text.f2, "ax"20f2:21 .byte a222