1 # Show that llvm-readobj can handle no program headers when --program-headers
2 # is requested, both for LLVM and GNU output.
4 # RUN: yaml2obj %s -o %t
5 # RUN: llvm-readobj %t --program-headers | FileCheck %s --check-prefix=LLVM
6 # RUN: llvm-readelf %t --program-headers | FileCheck %s --check-prefix=GNU
8 # LLVM: ProgramHeaders [
11 # GNU: There are no program headers in this file.
13 # GNU-NEXT: Section to Segment mapping:
14 # GNU-NEXT: Segment Sections...
15 # GNU-NEXT: None .strtab .shstrtab