[all-commits] [llvm/llvm-project] b1ebfc: [lldb] Unconditionally increment depth when printi...

Augusto Noronha via All-commits all-commits at lists.llvm.org
Thu Jun 8 13:35:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1ebfc5de34ef4c91aa6f163989de600fb5227f8
      https://github.com/llvm/llvm-project/commit/b1ebfc5de34ef4c91aa6f163989de600fb5227f8
  Author: Augusto Noronha <augusto2112 at me.com>
  Date:   2023-06-08 (Thu, 08 Jun 2023)

  Changed paths:
    M lldb/include/lldb/DataFormatters/DumpValueObjectOptions.h
    M lldb/source/DataFormatters/ValueObjectPrinter.cpp
    A lldb/test/API/lang/cpp/frame-var-depth-and-elem-count/Makefile
    A lldb/test/API/lang/cpp/frame-var-depth-and-elem-count/TestFrameVarDepthAndElemCount.py
    A lldb/test/API/lang/cpp/frame-var-depth-and-elem-count/main.cpp

  Log Message:
  -----------
  [lldb] Unconditionally increment depth when printing children

The `target.max-children-depth` setting and `--depth` flag would be
ignored if treating pointer as arrays, fix that by always incrementing
the current depth when printing a new child.

rdar://109855463

Differential Revision: https://reviews.llvm.org/D151950




More information about the All-commits mailing list