[lld] [lld][ELF] improve AMD error message (PR #135082)

Maksim Levental via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 9 23:28:07 PDT 2025


================
@@ -143,7 +143,7 @@ uint32_t AMDGPU::calcEFlags() const {
   case ELFABIVERSION_AMDGPU_HSA_V6:
     return calcEFlagsV6();
   default:
-    Err(ctx) << "unknown abi version: " << abiVersion;
+    Err(ctx) << "unknown amd-hsa abi version: " << static_cast<int>(abiVersion);
----------------
makslevental wrote:

add amdgpu-abi-version-err-2.yml

https://github.com/llvm/llvm-project/pull/135082


More information about the llvm-commits mailing list