[llvm] Do not replace dead constant references in metadata with undef
[llvm-project.git] / lld / test / ELF / Inputs / shf-info-link.test
blobfbcfbe32fe8e1a3383779e9b19d5cfbc2bbfd4ee
1 --- !ELF
2 FileHeader:
3   Class:           ELFCLASS64
4   Data:            ELFDATA2LSB
5   Type:            ET_REL
6   Machine:         EM_X86_64
7 Sections:
8   - Name:            .text
9     Type:            SHT_PROGBITS
10     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
11   - Name:            .rela.text
12     Type:            SHT_RELA
13     Link:            .symtab
14     Info:            .text
15     Relocations:
16       - Symbol:      foo
17         Type:        R_X86_64_64
18 Symbols:
19   - Name:            foo
20     Binding:         STB_GLOBAL