[Lldb-commits] [lldb] [lldb] Avoid (unlimited) GetNumChildren calls when printing values (PR #93946)
via lldb-commits
lldb-commits at lists.llvm.org
Fri May 31 10:53:30 PDT 2024
jimingham wrote:
This seems reasonable. However, I note that on the page where we show how to write synthetic child providers, we say:
def num_children(self):
this call should return the number of children that you want your object to have
That's actually not true - we pass the max_children argument on to the num_children method, and in fact some of the tests do use the max parameter. But since you're making that actually useful, can you fix the docs so people will know to take advantage of this?
https://github.com/llvm/llvm-project/pull/93946
More information about the lldb-commits
mailing list