Mercurial > hg > CbC > CbC_llvm
diff lld/test/ELF/amdgpu-abi-version-err.s @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 0572611fdcc8 |
children |
line wrap: on
line diff
--- a/lld/test/ELF/amdgpu-abi-version-err.s Mon May 25 11:55:54 2020 +0900 +++ b/lld/test/ELF/amdgpu-abi-version-err.s Tue Jun 08 06:07:14 2021 +0900 @@ -1,6 +1,6 @@ # REQUIRES: amdgpu # RUN: llvm-mc -triple amdgcn-amd-amdhsa -mcpu=gfx900 -filetype=obj %s -o %t-0.o -# RUN: llvm-mc -triple amdgcn-amd-amdhsa -mcpu=gfx900 -mattr=-code-object-v3 -filetype=obj %s -o %t-1.o +# RUN: llvm-mc -triple amdgcn-amd-amdhsa -mcpu=gfx900 --amdhsa-code-object-version=2 -filetype=obj %s -o %t-1.o # RUN: not ld.lld -shared %t-0.o %t-1.o -o /dev/null 2>&1 | FileCheck %s # CHECK: ld.lld: error: incompatible ABI version: {{.*}}-1.o