================
@@ -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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits