[Lldb-commits] [lldb] [lldb] Add support for synthetic LineEntry objects without valid address ranges (PR #158811)

Med Ismail Bennani via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 4 11:50:16 PST 2025


================
@@ -132,6 +132,8 @@ void SBLineEntry::SetLine(uint32_t line) {
   LLDB_INSTRUMENT_VA(this, line);
 
   ref().line = line;
+  if (!ref().range.IsValid())
+    ref().synthetic = true;
----------------
medismailben wrote:

Right, we don't that's why I didn't bother making a setter for it for now.

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


More information about the lldb-commits mailing list