[ARM] Cortex-M4 schedule additions
[llvm-complete.git] / test / tools / llvm-elfabi / binary-read-no-dt-strtab.test
blob79f4496cc9f6e512dc5623e12cffb52a71071cf5
1 # RUN: yaml2obj %s > %t
2 # RUN: not llvm-elfabi --elf %t --emit-tbe=%t.tbe 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     Content:         "00"
16   - Name:            .dynamic
17     Type:            SHT_DYNAMIC
18     Flags:           [ SHF_ALLOC ]
19     Address:         0x0000000000000008
20     Link:            .dynstr
21     AddressAlign:    0x0000000000000008
22     EntSize:         0x0000000000000010
23     Entries:
24       - Tag:             DT_STRSZ
25         Value:           0x0000000000000001
26       - Tag:             DT_NULL
27         Value:           0x0000000000000000
28 ProgramHeaders:
29   - Type: PT_LOAD
30     Flags: [ PF_R ]
31     VAddr: 0x0000
32     PAddr: 0x0000
33     Align: 8
34     Sections:
35       - Section: .dynstr
36       - Section: .dynamic
37   - Type: PT_DYNAMIC
38     Flags: [ PF_X, PF_R ]
39     VAddr: 0x0008
40     PAddr: 0x0008
41     Sections:
42       - Section: .dynamic
44 # CHECK: Couldn't locate dynamic string table (no DT_STRTAB entry)