32 lines · plain
1# RUN: yaml2obj %s -o %t.o2# RUN: not ld.lld --icf=all %t.o -o /dev/null 2>&1 | FileCheck %s3# CHECK: .eh_frame: relocation is not in any piece4 5!ELF6FileHeader:7 Class: ELFCLASS648 Data: ELFDATA2LSB9 OSABI: ELFOSABI_FREEBSD10 Type: ET_REL11 Machine: EM_X86_6412Sections:13 - Name: .eh_frame14 Type: SHT_PROGBITS15 Flags: [ SHF_ALLOC]16 Content: "1400000000000000017a5200017810011b0c070890010000140000001c00000000000000000000000000000000000000"17 - Name: .rela.eh_frame18 Type: SHT_RELA19 Link: .symtab20 Info: .eh_frame21 Relocations:22 - Offset: 0x9999999923 Symbol: zed24 Type: R_X86_64_6425Symbols:26 - Name: zed27 Type: STT_FUNC28 Section: .eh_frame29 Value: 0x030 Size: 831 Binding: STB_GLOBAL32