[llvm] Reland: [ORC] Tailor ELF debugger support plugin to load-address patching only (PR #169482)
Stefan Gränitz via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 8 04:59:32 PST 2025
================
@@ -348,6 +348,16 @@ class SimpleSegmentAlloc {
return Alloc->finalize();
}
+ /// Free allocated memory if finalize won't be called.
+ Error abandon() {
+ Error Err = Error::success();
+ Alloc->abandon([&Err](Error E) {
+ ErrorAsOutParameter _(&Err);
+ Err = std::move(E);
+ });
+ return Err;
----------------
weliveindetail wrote:
Last revision reports error through captured ExecutionSession pointer
https://github.com/llvm/llvm-project/pull/169482
More information about the llvm-commits
mailing list