[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)

Charles Zablit via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 4 09:17:32 PDT 2025


================
@@ -92,6 +92,10 @@ void TrackingOutputBuffer::finalizeStart() {
   if (NameInfo.BasenameRange.second == 0)
     NameInfo.BasenameRange.second = getCurrentPosition();
 
+  if (NameInfo.BasenameRange.second != NameInfo.ArgumentsRange.first)
+    NameInfo.TemplateArgumentsRange = {NameInfo.BasenameRange.second,
+                                       NameInfo.ArgumentsRange.first};
----------------
charles-zablit wrote:

I agree that this would be much more robust.
I think I've tried that in one of my iterations but this caused some of the tests to regress. I will post the results of the failing tests in a moment.

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


More information about the lldb-commits mailing list