llvm.org GIT mirror llvm / testing test / tools / llvm-readobj / amdgpu-elf-definitions.test
testing

Tree @testing (Download .tar.gz)

amdgpu-elf-definitions.test @testingraw · history · blame

RUN: llvm-readobj -file-headers -program-headers -sections -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: }