[PATCH] D132689: [Object] Refactor code for extracting offload binaries

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 25 11:01:07 PDT 2022


jhuber6 created this revision.
jhuber6 added reviewers: jdoerfert, saiislam, JonChesterfield, tra, yaxunl.
Herald added subscribers: hiraditya, mgorny.
Herald added a project: All.
jhuber6 requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.

We currently extract offload binaries inside of the linker wrapper.
Other tools may wish to do the same extraction operation. This patch
simply factors out this handling into the `OffloadBinary.h` interface.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D132689

Files:
  clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
  llvm/include/llvm/Object/OffloadBinary.h
  llvm/lib/Object/CMakeLists.txt
  llvm/lib/Object/OffloadBinary.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132689.455659.patch
Type: text/x-patch
Size: 15707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220825/997fb5aa/attachment-0001.bin>


More information about the cfe-commits mailing list