brintos

brintos / llvm-project-archived public Read only

0
0
Text · 467 B · 5c651fb Raw
25 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t13# RUN: ld.lld %t1 -o /dev/null --icf=all --print-icf-sections 2>&1 | FileCheck -allow-empty %s4 5## Check that ICF does not merge sections which relocations have equal addends,6## but different target values.7 8# CHECK-NOT: selected9 10.globl und11 12.section .text13.globl foo14foo:15  .byte 016.globl bar17bar:18  .byte 019 20.section .text.foo, "ax"21.quad foo22 23.section .text.bar, "ax"24.quad bar25