[Openmp-commits] [PATCH] D124525: [OpenMP][ClangLinkerWrapper] Extending linker wrapper to embed metadata for multi-arch fat binaries

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon May 30 14:33:51 PDT 2022


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



More information about the Openmp-commits mailing list