27 lines · plain
1# REQUIRES: amdgpu2# RUN: llvm-mc -filetype=obj -triple amdgcn-amd-amdhsa -mcpu=gfx1031 --position-independent %s -o %t.o3 4# We use lld-link on purpose to exercise -flavor.5# RUN: lld-link -flavor gnu -shared %t.o -o /dev/null6 7 .text8 .amdgcn_target "amdgcn-amd-amdhsa--gfx1031"9 .protected xxx ; @xxx10 .type xxx,@object11 .data12 .globl xxx13xxx:14 .long 123 ; 0x7b15 16 .addrsig17 .amdgpu_metadata18---19amdhsa.kernels: []20amdhsa.target: amdgcn-amd-amdhsa--gfx103121amdhsa.version:22 - 123 - 124...25 26 .end_amdgpu_metadata27