brintos

brintos / llvm-project-archived public Read only

0
0
Text · 476 B · 8b90a2b Raw
17 lines · yaml
1## Check how the 'Flags' key can be used to encode e_flags field values.2 3## Check we are able to produce no flags for EM_NONE. EM_NONE is an arbitrary4## e_machine type that has no EF_* values defined for it.5# RUN: yaml2obj %s -o %t-no-flags6# RUN: llvm-readelf --file-headers %t-no-flags | FileCheck %s --check-prefix=NOFLAGS7 8# NOFLAGS: Flags: 0x0{{$}}9 10--- !ELF11FileHeader:12  Class:   ELFCLASS3213  Data:    ELFDATA2LSB14  Type:    ET_REL15  Machine: EM_NONE16  Flags:   [ ]17