[all-commits] [llvm/llvm-project] f94c7f: [lldb] Never print children if the max depth has b...
Augusto Noronha via All-commits
all-commits at lists.llvm.org
Tue Jun 13 11:07:59 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f94c7ffe46400559740e7f81d7c60d8c0fe7df82
https://github.com/llvm/llvm-project/commit/f94c7ffe46400559740e7f81d7c60d8c0fe7df82
Author: Augusto Noronha <augusto2112 at me.com>
Date: 2023-06-13 (Tue, 13 Jun 2023)
Changed paths:
M lldb/include/lldb/DataFormatters/ValueObjectPrinter.h
M lldb/source/DataFormatters/ValueObjectPrinter.cpp
M lldb/test/API/lang/cpp/frame-var-depth-and-elem-count/TestFrameVarDepthAndElemCount.py
M lldb/test/API/lang/cpp/frame-var-depth-and-elem-count/main.cpp
Log Message:
-----------
[lldb] Never print children if the max depth has been reached
When formatting a variable, the max depth would potentially be ignored
if the current value object failed to print itself. Change that to
always respect the max depth, even if failure occurs.
rdar://109855463
Differential Revision: https://reviews.llvm.org/D152409
More information about the All-commits
mailing list