Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / invalid / symtab-symbols.test
blob5f4ae353de505c83efbe9b8ec30dfa97db4725a0
1 # RUN: yaml2obj %s -o %t
2 # RUN: ld.lld -shared %t -o %tout
4 # GNU assembler 2.17.50 [FreeBSD] 2007-07-03 could generate
5 # broken objects.
6 # Verify that lld can handle STT_NOTYPE symbols associated
7 # with SHT_SYMTAB section.
9 !ELF
10 FileHeader:
11   Class:           ELFCLASS64
12   Data:            ELFDATA2LSB
13   OSABI:           ELFOSABI_FREEBSD
14   Type:            ET_REL
15   Machine:         EM_X86_64
16 Sections:
17   - Name:            .text
18     Type:            SHT_PROGBITS
19     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
20     AddressAlign:    0x0000000000000010
21     Content:         "00000000"
22 Symbols:
23   - Type:            STT_NOTYPE
24     Section:         .symtab