[llvm] Add --offoading option to llvm-readobj (PR #143342)
David Salinas via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 10 09:19:25 PDT 2025
================
@@ -0,0 +1,42 @@
+## Test that --offloading with a fatbin works correctly
+# REQUIRES: target={{x86_64-.*-linux.*}}
+# REQUIRES: amdgpu-registered-target
----------------
david-salinas wrote:
It is target specific. Only targets where a hip_fatbin offload section is generated. So AMDGPU targets. And, for now, just linux platforms. There is an issue on Windows where yam2obj doesn't properly generate the object file from this test. And you've noticed in the comment below, that ideally, we need proper support in yaml2obj for these offload bundles. This would be a fair amount of work and for now is just outside the scope of this patch.
https://github.com/llvm/llvm-project/pull/143342
More information about the llvm-commits
mailing list