[Lldb-commits] [lldb] [lldb] Add documentation for the max_children argument (PR #94192)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Mon Jun 3 01:33:37 PDT 2024
================
@@ -930,40 +930,55 @@ be implemented by the Python class):
class SyntheticChildrenProvider:
def __init__(self, valobj, internal_dict):
- this call should initialize the Python object using valobj as the variable to provide synthetic children for
- def num_children(self):
- this call should return the number of children that you want your object to have
+ this call should initialize the Python object using valobj as the
+ variable to provide synthetic children for
+ def num_children(self, max_children):
+ this call should return the number of children that you want your
+ object to have[1]
def get_child_index(self,name):
- this call should return the index of the synthetic child whose name is given as argument
+ this call should return the index of the synthetic child whose name is
+ given as argument
def get_child_at_index(self,index):
- this call should return a new LLDB SBValue object representing the child at the index given as argument
+ this call should return a new LLDB SBValue object representing the
----------------
labath wrote:
Reformatted because code blocks are not automatically wrapped (and the lines don't fit on one screen).
https://github.com/llvm/llvm-project/pull/94192
More information about the lldb-commits
mailing list