jhuber6 added a comment. Also I probably should've discussed this earlier, but another potential solution is to use the binary format <https://github.com/llvm/llvm-project/blob/main/llvm/include/llvm/Object/OffloadBinary.h> that we use to embed the object files for the images as well. This is more similar to how CUDA does it. Making it backwards compatible would probably require just assuming it's an image with no information if it doesn't include the magic bytes. This might be better if we want a unified tool to give information on embedded device formats.
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D124525/new/ https://reviews.llvm.org/D124525 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits