[lit] Add argument check: --timeout must be non-negative integer
[llvm-core.git] / test / tools / yaml2obj / dynamic-section.yaml
blob2480810d33bc781d8956fc5c06b50628a63ad4dd
1 # Ensures that dynamic section has sh_entsize correctly set
2 # RUN: yaml2obj %s -o %t
3 # RUN: llvm-readobj --sections %t | FileCheck %s --check-prefix=SECTION
5 !ELF
6 FileHeader:
7   Class:           ELFCLASS64
8   Data:            ELFDATA2LSB
9   Type:            ET_DYN
10   Machine:         EM_X86_64
11 Sections:
12   - Name: .dynamic
13     Type: SHT_DYNAMIC
14     Flags: [ SHF_ALLOC, SHF_WRITE ]
16 # SECTION: Name: .dynamic
17 # SECTION: EntrySize: 16