[lld] [lld][ELF] improve AMD error message (PR #135082)
Maksim Levental via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 10 21:03:26 PDT 2025
================
@@ -0,0 +1,15 @@
+# RUN: yaml2obj %s -o %t.o
+# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
+
+# CHECK: ld.lld: error: unknown AMDHSA ABI version: 42
----------------
makslevental wrote:
it's literally in the [amdgpu-abi-version-err.s](https://github.com/llvm/llvm-project/blob/main/lld/test/ELF/amdgpu-abi-version-err.s#L6C10-L6C24) you first suggested:

https://github.com/llvm/llvm-project/pull/135082
More information about the llvm-commits
mailing list