[Lldb-commits] [lldb] [lldb] Fix StdUnorderedMapSynthProvider for GCC (PR #164251)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 21 03:57:57 PDT 2025
================
@@ -68,6 +68,11 @@ def extract_type(self):
template_arg_num = type.GetNumberOfTemplateArguments() - 1
allocator_type = type.GetTemplateArgumentType(template_arg_num)
data_type = allocator_type.GetTemplateArgumentType(0)
+ if data_type.IsValid():
+ return data_type
+ type = self.head.GetType()
+ head_type = type.GetTypedefedType().GetTypedefedType()
----------------
Michael137 wrote:
```suggestion
head_type = type.GetCanonicalType()
```
https://github.com/llvm/llvm-project/pull/164251
More information about the lldb-commits
mailing list