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
40 #CHECK: ProgramHeaders [
41 #CHECK-NEXT: ProgramHeader {
42 #CHECK-NEXT: Type: PT_LOAD
43 #CHECK-NEXT: Offset: 0x1000
44 #CHECK-NEXT: VirtualAddress: 0x1000
45 #CHECK-NEXT: PhysicalAddress: 0x1000
46 #CHECK-NEXT: FileSize: 4
47 #CHECK-NEXT: MemSize: 4
52 #CHECK-NEXT: Alignment: 4096
54 #CHECK-NEXT: ProgramHeader {
55 #CHECK-NEXT: Type: PT_LOAD
56 #CHECK-NEXT: Offset: 0x1008
57 #CHECK-NEXT: VirtualAddress: 0x1008
58 #CHECK-NEXT: PhysicalAddress: 0x1008
59 #CHECK-NEXT: FileSize: 2
60 #CHECK-NEXT: MemSize: 2
65 #CHECK-NEXT: Alignment: 4096