danilashtefan added a comment.

Hi Walter :) This is the Draft PR for the unordered_map/set data formatter. 
Currently it works well in case both key and values are of the same primitive 
data types (except string).

Unfortunately, the following problems are encountered:

1. When key and value are of different types value is detected wrong (some 
garbage). I will leave the separate comment with the details

2)Currently I print the unordered_map in the following form [key] = [value]. 
However, the right from would be: [index] = (first = key, second = value). I am 
struggling through finding the way to do so

3)Whether key and/or value are of the string type, formatter cannot read the 
data. Is the string formatter issue.

Many thanks for your help in advance


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