[Lldb-commits] [lldb] [lldb] Better matching of types in anonymous namespaces (PR #102111)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 7 10:23:41 PDT 2024


================
@@ -440,12 +440,6 @@ static void GetTypeLookupContextImpl(DWARFDIE die,
       continue;
     }
 
-    // If there is no name, then there is no need to look anything up for this
-    // DIE.
-    const char *name = die.GetName();
-    if (!name || !name[0])
-      return;
-
----------------
clayborg wrote:

Do we want to only pull out this match if this is a `DW_TAG_namespace`? Or is it useful to have unnamed structs/unions/classes in the contenxt?

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


More information about the lldb-commits mailing list