[clang] [llvm] [Offloading] Extend OffloadBinary format to support multiple metadata entries (PR #169425)

Yury Plyakhin via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 1 17:57:56 PST 2025


YuriPlyakhin wrote:

> I'm wondering if we should keep the accessor methods to all take a single image, so the extract code just returns an array of these. You'd need to make sure the reference stays alive but it might be simpler that way, I don't think the interface handles this well, like for checking the image kind.

Could you please elaborate, I'm not sure I understand what you mean exactly... Maybe you can just provide a sketch of the interface that you have in mind?

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


More information about the llvm-commits mailing list