summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/amdgpu-abi-version.s
blob: 6fc95f1039aad3e03c86154d969969d740402425 (plain)
1
2
3
4
5
6
7
8
9
10
11
# REQUIRES: amdgpu
# RUN: llvm-mc -triple amdgcn-amd-amdhsa -mcpu=gfx900 -filetype=obj %s -o %t.o
# RUN: ld.lld -shared %t.o -o %t.so
# RUN: llvm-readobj --file-headers %t.so | FileCheck %s

# CHECK: OS/ABI: AMDGPU_HSA (0x40)
# CHECK: ABIVersion: 1

.text
  s_nop 0x0
  s_endpgm
OpenPOWER on IntegriCloud