danilashtefan added inline comments.

================
Comment at: lldb/examples/synthetic/gnu_libstdcpp.py:77
+            key = self.get_child_key(index)
+            return current.CreateChildAtOffset('[' + str(key.GetValue()) + 
']', self.next.GetType().GetByteSize() + self.data_size, self.data_type)
+        
----------------
I assume that the cause of the first issue (different key value type) is 
located here. self.next.GetType().GetByteSize() + self.data_size does not work 
in this case. Key is read, however value - not. It means that we cannot always 
add self.data_size.

I tried to manually figure out on the unordered_map<char, int> case what can I 
add instead of self.data_size (which is 1 in this case), but got no success


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113760/new/

https://reviews.llvm.org/D113760

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to