[Lldb-commits] [lldb] [lldb/Interpreter] Surface Python exceptions from scripted extensions (PR #198153)

via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 27 16:51:43 PDT 2026


================
@@ -14,7 +14,7 @@
 #include "ScriptedInterface.h"
 
 namespace lldb_private {
-class ScriptedHookInterface : public ScriptedInterface {
+class ScriptedHookInterface : virtual public ScriptedInterface {
----------------
jimingham wrote:

That talk didn't in fact mention that both ScriptedInterfaceBreakpoint and ScriptedInterfacePython (which seems more like a helper than an interface per se) both inherit from ScriptedInterface... 
But that's not the main point.  I couldn't see anything in this patch that would require you have a diamond graph rather than two copies of the ScriptedInterface data.  What required that?

https://github.com/llvm/llvm-project/pull/198153


More information about the lldb-commits mailing list