[Lldb-commits] [PATCH] D114008: Draft PR for the deque, stack, queue lldb data formatters

Danil Stefaniuc via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 16 09:28:22 PST 2021


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



More information about the lldb-commits mailing list