1 # RUN: yaml2obj %s -o %t.o
2 # RUN: ld.lld --icf=all %t.o -o /dev/null --print-icf-sections 2>&1 | FileCheck %s
4 # Checks that ICF does not merge 2 sections the type of
5 # the relocations of which differ.
13 OSABI: ELFOSABI_FREEBSD
19 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
21 Content: "0000000000000000"
24 Flags: [ SHF_ALLOC, SHF_EXECINSTR]
25 Content: "FFFFFFFFFFFFFFFF"
28 Flags: [ SHF_ALLOC, SHF_EXECINSTR]
29 Content: "FFFFFFFFFFFFFFFF"
30 - Name: .rela.text.foo
36 - Name: .rela.text.bar