[all-commits] [llvm/llvm-project] 5dbc7c: [Object] Refactor code for extracting offload bina...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Tue Sep 6 06:55:36 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5dbc7cf7cac4428e0876a94a4fca10fe60af7328
https://github.com/llvm/llvm-project/commit/5dbc7cf7cac4428e0876a94a4fca10fe60af7328
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
M llvm/include/llvm/Object/OffloadBinary.h
M llvm/lib/Object/CMakeLists.txt
M llvm/lib/Object/OffloadBinary.cpp
Log Message:
-----------
[Object] Refactor code for extracting offload binaries
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.
Reviewed By: yaxunl
Differential Revision: https://reviews.llvm.org/D132689
Commit: a69404c0a294ce65432ce67d5f3e7dce28106496
https://github.com/llvm/llvm-project/commit/a69404c0a294ce65432ce67d5f3e7dce28106496
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M clang/test/Driver/offload-packager.c
M clang/tools/clang-offload-packager/ClangOffloadPackager.cpp
Log Message:
-----------
[OffloadPackager] Add ability to extract images from other file types
A previous patch added support for extracting images from offloading
binaries. Users may wish to extract these files from the file types they
are most commonly emebedded in, such as an ELF or bitcode. This can be
difficult for the user to do manually, as these could be stored in
different section names potentially. This patch addsp support for
extracting these file types.
Reviewed By: saiislam
Differential Revision: https://reviews.llvm.org/D132607
Compare: https://github.com/llvm/llvm-project/compare/42836e283fc5...a69404c0a294
More information about the All-commits
mailing list