This is an archive of the discontinued LLVM Phabricator instance.

[Object] Refactor code for extracting offload binaries
ClosedPublic

Authored by jhuber6 on Aug 25 2022, 11:01 AM.

Details

Summary

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.

Diff Detail

Event Timeline

jhuber6 created this revision.Aug 25 2022, 11:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 25 2022, 11:01 AM
jhuber6 requested review of this revision.Aug 25 2022, 11:01 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 25 2022, 11:01 AM
yaxunl accepted this revision.Sep 1 2022, 7:06 AM

LGTM. Thanks.

This revision is now accepted and ready to land.Sep 1 2022, 7:06 AM
This revision was automatically updated to reflect the committed changes.