amdgpu-elf-definitions.test 307 Bytes
RUN: llvm-readobj --file-headers -l -S --symbols %p/Inputs/trivial.obj.elf-amdhsa-gfx803 | FileCheck %s

CHECK: Format: ELF64-amdgpu
CHECK: Arch: unknown
CHECK: ElfHeader {
CHECK:   Ident {
CHECK:     OS/ABI: AMDGPU_HSA (0x40)
CHECK:     ABIVersion: 0
CHECK:   }
CHECK:   Machine: EM_AMDGPU (0xE0)
CHECK: }