[llvm] Add --offoading option to llvm-readobj (PR #143342)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 19 08:30:07 PDT 2025
================
@@ -0,0 +1,28 @@
+## Test that --offloading with a fatbin works correctly.
+# REQUIRES: target={{x86_64-.*-linux.*}}
+# REQUIRES: amdgpu-registered-target
+# UNSUPPORTED: system-windows
+
+# RUN: yaml2obj %s -o %t.elf
+# RUN: not llvm-readobj --offloading %t.elf 2>&1 | \
+# RUN: FileCheck %s --check-prefix=ERR -DFILE_NAME=%t.elf
+
+# ERR: error: '{{.*}}': Stream Error: The stream is too short to perform the requested operation.
----------------
arsenm wrote:
error messages should start with lowercase
https://github.com/llvm/llvm-project/pull/143342
More information about the llvm-commits
mailing list