brintos

brintos / llvm-project-archived public Read only

0
0
Text · 496 B · 036d5a6 Raw
17 lines · plain
1# This test ensures an object without a program header will retain zero values2# for offset and header size when copied with llvm-objcopy.3# RUN: yaml2obj %s -o %t4# RUN: llvm-objcopy %t %t25# RUN: llvm-readobj --file-headers %t2 | FileCheck %s6 7!ELF8FileHeader:9  Class:           ELFCLASS6410  Data:            ELFDATA2LSB11  Type:            ET_EXEC12  Machine:         EM_X86_6413 14# CHECK:      ProgramHeaderOffset: 0x015# CHECK:      ProgramHeaderEntrySize: 016# CHECK-NEXT: ProgramHeaderCount: 017