[llvm] [ORC] Free ELF debug objects in dealloc action of corresponding code (wip) (PR #168522)
Stefan Gränitz via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 25 03:15:05 PST 2025
================
@@ -413,129 +177,165 @@ ELFDebugObjectPlugin::ELFDebugObjectPlugin(ExecutionSession &ES,
AutoRegisterCode(AutoRegisterCode) {
// Pass bootstrap symbol for registration function to enable debugging
ErrorAsOutParameter _(&Err);
- Err = ES.getExecutorProcessControl().getBootstrapSymbols(
- {{RegistrationAction, rt::RegisterJITLoaderGDBAllocActionName}});
+ Err = ES.getExecutorProcessControl().getBootstrapSymbols({
+ {RegistrationAction, rt::RegisterJITLoaderGDBAllocActionName},
+ {DeallocAction, rt::SimpleExecutorMemoryManagerReleaseWrapperName},
+ {TargetMemMgr, rt::SimpleExecutorMemoryManagerInstanceName},
----------------
weliveindetail wrote:
Is there a rough timeline? In release cycles? :)
https://github.com/llvm/llvm-project/pull/168522
More information about the llvm-commits
mailing list