1 # This test ensures an object without a program header will retain zero values
2 # for offset and header size when copied with llvm-objcopy.
3 # RUN: yaml2obj %s -o %t
4 # RUN: llvm-objcopy %t %t2
5 # RUN: llvm-readobj --file-headers %t2 | FileCheck %s
14 # CHECK: ProgramHeaderOffset: 0x0
15 # CHECK: ProgramHeaderEntrySize: 0
16 # CHECK-NEXT: ProgramHeaderCount: 0