[llvm] [OFFLOAD] Generalize support for OffloadBinary images (PR #186088)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 7 06:01:34 PDT 2026


================
@@ -313,10 +315,27 @@ struct DynBlockMemConfTy {
   void *FallbackPtr = nullptr;
 };
 
+/// Metadata extracted from OffloadBinary format
+struct OffloadBinMetadataTy {
----------------
jhuber6 wrote:

My point is that you should be able to take an existing memory buffer and create an offload binary on it, which then exposes all of these routines. Is there a barrier preventing us from doing that? We should have control over the memory's lifetime IIRC.

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


More information about the llvm-commits mailing list