[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 11:01:59 PDT 2024


jimingham wrote:

BTW, because the max number of children is probably getting ignored in the wild, this has to be advisory, you can't require that:

val.GetNumChildren(max_children) <= max_children

I don't think you do that but it might be good to note the fact.

https://github.com/llvm/llvm-project/pull/93946


More information about the lldb-commits mailing list