Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / tools / llvm-ifs / binary-read-no-dt-strsz.test
blob663602191a6656279da4639a121f24301528c9a2
1 # RUN: yaml2obj %s -o %t
2 # RUN: not llvm-ifs --input-format=ELF --output-ifs=%t.tbe %t 2>&1 | FileCheck %s
4 !ELF
5 FileHeader:
6   Class:           ELFCLASS64
7   Data:            ELFDATA2LSB
8   Type:            ET_DYN
9   Machine:         EM_X86_64
10 Sections:
11   - Name:            .dynstr
12     Type:            SHT_STRTAB
13     Flags:           [ SHF_ALLOC ]
14     Address:         0x0000
15 #                     \0 b a z\0
16     Content:         "0062617a00"
17   - Name:            .dynamic
18     Type:            SHT_DYNAMIC
19     Flags:           [ SHF_ALLOC ]
20     Address:         0x0000000000000008
21     Link:            .dynstr
22     AddressAlign:    0x0000000000000008
23     EntSize:         0x0000000000000010
24     Entries:
25       - Tag:             DT_STRTAB
26         Value:           0x0000000000000000
27       - Tag:             DT_NULL
28         Value:           0x0000000000000000
29 ProgramHeaders:
30   - Type:     PT_LOAD
31     Flags:    [ PF_R ]
32     VAddr:    0x0000
33     Align:    8
34     FirstSec: .dynstr
35     LastSec:  .dynamic
36   - Type:     PT_DYNAMIC
37     Flags:    [ PF_X, PF_R ]
38     VAddr:    0x0008
39     FirstSec: .dynamic
40     LastSec:  .dynamic
42 # CHECK: Couldn't determine dynamic string table size (no DT_STRSZ entry)