[Lldb-commits] [lldb] Make breakpoint stop reason more accurate for function breakpoints (PR #130841)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 24 11:10:22 PDT 2025


================
@@ -392,9 +391,55 @@ struct DAP {
 
   void SetThreadFormat(llvm::StringRef format);
 
-  InstructionBreakpoint *GetInstructionBreakpoint(const lldb::break_id_t bp_id);
+  template <typename BreakpointType>
+  BreakpointType *GetBreakpointFromStopReason(lldb::SBThread &thread) {
+    // Check to see if have hit the <BreakpointType> breakpoint and change the
----------------
clayborg wrote:

s/Check to see if have hit/Check to see if we have hit/

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


More information about the lldb-commits mailing list