[PATCH] D129507: [llvm-objcopy] Add option to dump embedded offloading images

Joseph Huber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 12 16:22:24 PDT 2022


jhuber6 added a comment.

In D129507#3646824 <https://reviews.llvm.org/D129507#3646824>, @tra wrote:

> I personally would prefer to avoid creating yet another tool. clang-offload-packager may be a reasonable place for this, considering that it already deals with the new offloading binary packaging style.

That tool is more or less a straight clone of Nvidia's `fatbinary`. We could potentially put it there, as it already creates the binaries that we embed inside the host, but it's a little out of scope. I can definitely put it there if people have major objections to putting stuff like this in `llvm-objdump` I could've made everything work without it, but it made the job of passing this information from the compiler driver to the back-end much more straightforward. Theoretically we could get rid of that and merge the `clang-linker-wrapper` into `lld` and bring the number of tools to zero.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129507/new/

https://reviews.llvm.org/D129507



More information about the llvm-commits mailing list