[Lldb-commits] [PATCH] D91508: [LLDB/Lua] add support for one-liner breakpoint callback
Pedro Tammela via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Sun Nov 15 13:09:43 PST 2020
tammela added a comment.
@JDevlieghere
When writing this patch I noticed that there is no mechanism in-place to remove the Python/Lua function when the breakpoint is removed or when the callback function is replaced.
The class that sets the callback provides `ClearCallback()` but it never calls into the `ScriptInterpreter` to clean up.
Although the real world impact is not that big, it's crucial for a small memory footprint. Any thoughts on this?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91508/new/
https://reviews.llvm.org/D91508
More information about the lldb-commits
mailing list