1 # RUN: yaml2obj %s -o %t
2 # RUN: llvm-objcopy %t %t2
3 # RUN: llvm-readobj --program-headers %t2 | FileCheck %s
14 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
16 AddressAlign: 0x0000000000001000
22 AddressAlign: 0x0000000000000008
38 #CHECK: ProgramHeaders [
39 #CHECK-NEXT: ProgramHeader {
40 #CHECK-NEXT: Type: PT_LOAD
41 #CHECK-NEXT: Offset: 0x1000
42 #CHECK-NEXT: VirtualAddress: 0x1000
43 #CHECK-NEXT: PhysicalAddress: 0x1000
44 #CHECK-NEXT: FileSize: 4
45 #CHECK-NEXT: MemSize: 4
50 #CHECK-NEXT: Alignment: 4096
52 #CHECK-NEXT: ProgramHeader {
53 #CHECK-NEXT: Type: PT_LOAD
54 #CHECK-NEXT: Offset: 0x1008
55 #CHECK-NEXT: VirtualAddress: 0x1008
56 #CHECK-NEXT: PhysicalAddress: 0x1008
57 #CHECK-NEXT: FileSize: 2
58 #CHECK-NEXT: MemSize: 2
63 #CHECK-NEXT: Alignment: 4096