[Lldb-commits] [lldb] Add SBDebugger:: AddNotificationCallback API (PR #111206)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 10 04:05:52 PDT 2024


================
@@ -1362,6 +1362,12 @@ enum Severity {
   eSeverityInfo, // Equivalent to Remark used in clang.
 };
 
+enum NotificationType {
+  eDebuggerWillBeCreated = (1 << 0),
+  eDebuggerWillBeDestroyed =
+      (1 << 1), // Call before debugger object is destroyed
----------------
labath wrote:

Do we actually want to treat this as a bitfield? If not, maybe they should just get the usual sequential numbers?

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


More information about the lldb-commits mailing list