1 # Show that yaml2obj properly emits program headers with explicit file size,
2 # memory size and offset parameters.
4 # RUN: yaml2obj %s -o %t
5 # RUN: llvm-readobj %t --program-headers | FileCheck %s
7 # CHECK: ProgramHeaders [
8 # CHECK: Offset: 0x1234
9 # CHECK: FileSize: 1111
10 # CHECK: MemSize: 9999
12 # CHECK: Offset: 0x2000
16 # CHECK: Offset: 0x2000
20 # CHECK: Offset: 0x1FFF
24 # CHECK: Offset: 0xFFE
28 # CHECK: Offset: 0x3000
52 # Program header with no sections.
53 - Type: 0x6abcdef0 # arbitrary type
57 # Program header with only file size set.
62 # Program header with only mem size set.
67 # Program header with only offset set.
72 # Program header with sections, valid properties.
79 # Program header with sections, invalid properties.