# RUN: yaml2obj %s -o %t.o
# RUN: llvm-readobj -S --file-headers %t.o | FileCheck %s
# CHECK: Format: elf32-amdgpu
--- !ELF
FileHeader:
Class: ELFCLASS32
Data: ELFDATA2LSB
Type: ET_REL
Machine: EM_AMDGPU
# RUN: yaml2obj %s -o %t.o
# RUN: llvm-readobj -S --file-headers %t.o | FileCheck %s
# CHECK: Format: elf32-amdgpu
--- !ELF
FileHeader:
Class: ELFCLASS32
Data: ELFDATA2LSB
Type: ET_REL
Machine: EM_AMDGPU