[Lldb-commits] [lldb] Improve namespace lookup using .debug_names parent chain (PR #110062)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 11 16:29:04 PDT 2024
================
@@ -151,3 +151,19 @@ bool DWARFIndex::ProcessTypeDIEMatchQuery(
return true;
return callback(die);
}
+
+void DWARFIndex::GetNamespacesWithParents(
+ ConstString name, const CompilerDeclContext &parent_decl_ctx,
+ llvm::function_ref<bool(DWARFDIE die)> callback) {
+ GetNamespaces(name, [&](DWARFDIE die) {
+ return ProcessNamespaceDieMatchParents(parent_decl_ctx, die, callback);
----------------
clayborg wrote:
Is `die` here a `DW_AT_namespace`?
https://github.com/llvm/llvm-project/pull/110062
More information about the lldb-commits
mailing list