pt-gnu-property.test
441 Bytes
# RUN: yaml2obj %s -o %t
# RUN: llvm-readelf --program-headers %t | FileCheck %s --check-prefix=GNU
# RUN: llvm-readobj --program-headers %t | FileCheck %s --check-prefix=LLVM
# GNU: {{ }}GNU_PROPERTY{{ }}
# LLVM: ProgramHeader {
# LLVM-NEXT: Type: PT_GNU_PROPERTY (0x6474E553)
--- !ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_EXEC
Machine: EM_AARCH64
ProgramHeaders:
- Type: PT_GNU_PROPERTY