[Lldb-commits] [lldb] Add the ability to break on call-site locations, improve inline stepping (PR #112939)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 18 10:55:18 PDT 2024


================
@@ -281,6 +283,18 @@ class BreakpointLocation
 
   /// Returns the breakpoint location ID.
   lldb::break_id_t GetID() const { return m_loc_id; }
+  
+  // Set the line entry that should be shown to users for this location.
+  // It is up to the caller to verify that this is a valid entry to show.
+  // The current use of this is to distinguish among line entries from a
+  // virtual inlined call stack that all share the same address.
----------------
adrian-prantl wrote:

Nit: these should all be Doxygen comments using ///

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


More information about the lldb-commits mailing list