linux-packaging-mono/external/llvm-project/llvm/test/Object/AMDGPU/elf64-amdgcn-amdpal-definitions.yaml
Xamarin Public Jenkins (auto-signing) 468663ddbb Imported Upstream version 6.10.0.49
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
2020-01-16 16:38:04 +00:00

35 lines
822 B
YAML

# RUN: yaml2obj %s > %t.o
# RUN: llvm-readobj -s -file-headers %t.o | FileCheck --check-prefix=ELF %s
# RUN: obj2yaml %t.o | FileCheck --check-prefix=YAML %s
# ELF: Format: ELF64-amdgpu
# ELF: Arch: amdgcn
# ELF: ElfHeader {
# ELF: Ident {
# ELF: OS/ABI: AMDGPU_PAL (0x41)
# ELF: ABIVersion: 0
# ELF: }
# ELF: Machine: EM_AMDGPU (0xE0)
# ELF: Flags [ (0x2)
# ELF: EF_AMDGPU_ARCH_GCN (0x2)
# ELF: ]
# ELF: }
# YAML: FileHeader
# YAML: Class: ELFCLASS64
# YAML: Data: ELFDATA2LSB
# YAML: OSABI: ELFOSABI_AMDGPU_PAL
# YAML: Type: ET_REL
# YAML: Machine: EM_AMDGPU
# YAML: Flags: [ EF_AMDGPU_ARCH_GCN ]
--- !ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
OSABI: ELFOSABI_AMDGPU_PAL
Type: ET_REL
Machine: EM_AMDGPU
Flags: [ EF_AMDGPU_ARCH_GCN ]
...