danilashtefan added a comment.

When I mocked the num_children to return 4, formatter works for any structure 
with size <= 4. here is the example:

  std::deque<int> d;
   d.push_front(7);
   d.push_front(5);   
   d.push_front(13);
   d.push_front(25);

(std::deque<int, std::allocator<int> >) $0 = size=4 {

  [0] = 25
  [1] = 13
  [2] = 5
  [3] = 7

}


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114008

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

Reply via email to