diff options
Diffstat (limited to 'lldb/examples/synthetic/libcxx.py')
-rw-r--r-- | lldb/examples/synthetic/libcxx.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/examples/synthetic/libcxx.py b/lldb/examples/synthetic/libcxx.py index ed6928ec7d1..fb43b10ef10 100644 --- a/lldb/examples/synthetic/libcxx.py +++ b/lldb/examples/synthetic/libcxx.py @@ -253,6 +253,8 @@ class stdlist_SynthProvider: def extract_type(self): list_type = self.valobj.GetType().GetUnqualifiedType() + if list_type.IsReferenceType(): + list_type = list_type.GetDereferencedType() if list_type.GetNumberOfTemplateArguments() > 0: data_type = list_type.GetTemplateArgumentType(0) else: |