[lit] Add argument check: --timeout must be non-negative integer
[llvm-core.git] / test / tools / yaml2obj / program-header-nobits.yaml
blob81fdb937228684cee6878fb2729c15c8e2818078
1 # RUN: yaml2obj %s -o %t
2 # RUN: llvm-readobj -l %t | FileCheck %s
4 !ELF
5 FileHeader:
6   Class:           ELFCLASS64
7   Data:            ELFDATA2LSB
8   Type:            ET_EXEC
9   Machine:         EM_X86_64
10 Sections:
11   - Name:            .data
12     Type:            SHT_PROGBITS
13     Flags:           [ SHF_ALLOC ]
14     Content:         "00000000"
15   - Name:            .after
16     Type:            SHT_NOBITS
17     Flags:           [ SHF_ALLOC ]
18     Size:            64
19 ProgramHeaders:
20   - Type: PT_LOAD
21     Flags: [ PF_R ]
22     Sections:
23       - Section: .data
24       - Section: .after
26 #CHECK:     ProgramHeaders [
27 #CHECK-NEXT:  ProgramHeader {
28 #CHECK-NEXT:    Type: PT_LOAD
29 #CHECK-NEXT:    Offset:
30 #CHECK-NEXT:    VirtualAddress:
31 #CHECK-NEXT:    PhysicalAddress:
32 #CHECK-NEXT:    FileSize: 4
33 #CHECK-NEXT:    MemSize: 68
34 #CHECK-NEXT:    Flags [
35 #CHECK-NEXT:      PF_R
36 #CHECK-NEXT:    ]
37 #CHECK-NEXT:    Alignment:
38 #CHECK-NEXT:  }
39 #CHECK-NEXT:]