================
@@ -126,3 +126,62 @@ bool DWARFIndex::GetFullyQualifiedTypeImpl(
     return callback(die);
   return true;
 }
+
+void DWARFIndex::GetNamespacesWithParents(
+    ConstString name, llvm::ArrayRef<llvm::StringRef> parent_names,
----------------
clayborg wrote:

Instead of just an array of names, we should try to use the 
`llvm::ArrayRef<CompilerContext>`. The .debug_names table has the DW_TAG in 
each entry and we can further reduce the number of things and possibly not even 
need to check the name if the DW_TAG_ doesn't match of the CompilerContext type 
isn't set to Any.

https://github.com/llvm/llvm-project/pull/108907
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to