aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/DataFormatters/DumpValueObjectOptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/DataFormatters/DumpValueObjectOptions.cpp')
-rw-r--r--lldb/source/DataFormatters/DumpValueObjectOptions.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/DataFormatters/DumpValueObjectOptions.cpp b/lldb/source/DataFormatters/DumpValueObjectOptions.cpp
index 46a2a489586b..38de4428bb23 100644
--- a/lldb/source/DataFormatters/DumpValueObjectOptions.cpp
+++ b/lldb/source/DataFormatters/DumpValueObjectOptions.cpp
@@ -38,8 +38,9 @@ DumpValueObjectOptions::SetMaximumPointerDepth(PointerDepth depth) {
}
DumpValueObjectOptions &
-DumpValueObjectOptions::SetMaximumDepth(uint32_t depth) {
+DumpValueObjectOptions::SetMaximumDepth(uint32_t depth, bool is_default) {
m_max_depth = depth;
+ m_max_depth_is_default = is_default;
return *this;
}