[all-commits] [llvm/llvm-project] 08ee0e: [lldb] Add plugin for Clang offload bundle object ...
satyanarayana reddy janga via All-commits
all-commits at lists.llvm.org
Thu Sep 24 11:21:27 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 08ee0ef5da10d27d5776df1e1ff81c46a38d9b5c
https://github.com/llvm/llvm-project/commit/08ee0ef5da10d27d5776df1e1ff81c46a38d9b5c
Author: satyanarayana reddy janga <satyajanga at gmail.com>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M lldb/source/Plugins/ObjectContainer/CMakeLists.txt
A lldb/source/Plugins/ObjectContainer/Clang-Offload-Bundle/CMakeLists.txt
A lldb/source/Plugins/ObjectContainer/Clang-Offload-Bundle/ObjectContainerClangOffloadBundle.cpp
A lldb/source/Plugins/ObjectContainer/Clang-Offload-Bundle/ObjectContainerClangOffloadBundle.h
M lldb/source/Symbol/ObjectFile.cpp
M lldb/unittests/ObjectContainer/CMakeLists.txt
A lldb/unittests/ObjectContainer/ObjectContainerClangOffloadBundleTest.cpp
Log Message:
-----------
[lldb] Add plugin for Clang offload bundle object container (#222362)
## Summary
Clang supports embedding binaries using the clang offload bundler:
https://clang.llvm.org/docs/ClangOffloadBundler.html
This patch creates an ObjectContainer plug-in that allows us to get the
contained binaries within any executable.
### why we need this?
AMD/HIP host binaries may contain a .hip_fatbin section holding a Clang
offload bundle with one or more AMDGPU ELF code objects, typically for
different GPU architectures. Each ELF code object can contain multiple
ml kernels.
### Test
Added tests for the logic.
NOTE: Caching was intentionally left out to keep the upstream initial
implementation simple; i will add it as a followup.
---------
Co-authored-by: Greg Clayton <gclayton at fb.com>
Co-authored-by: Bar Soloveychik <barsolo at meta.com>
Co-authored-by: Bar Soloveychik <barsolo at fb.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list