From 560558eb7c1deee76a1adb941e001e074dba460d Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Wed, 11 Feb 2015 02:35:39 +0000 Subject: Introduce the notion of "runtime support values" A runtime support value is a ValueObject whose only purpose is to support some language runtime's operation, but it does not directly provide any user-visible benefit As such, unless the user is working on the runtime support, it is mostly safe for them not to see such a value when debugging It is a language runtime's job to check whether a ValueObject is a support value, and that - in conjunction with a target setting - is used by frame variable and target variable SBFrame::GetVariables gets a new overload with yet another flag to dictate whether to return those support values to the caller - that which defaults to the setting's value rdar://problem/15539930 llvm-svn: 228791 --- lldb/scripts/Python/interface/SBFrame.i | 8 ++++++++ lldb/scripts/Python/interface/SBValue.i | 3 +++ 2 files changed, 11 insertions(+) (limited to 'lldb/scripts/Python/interface') diff --git a/lldb/scripts/Python/interface/SBFrame.i b/lldb/scripts/Python/interface/SBFrame.i index 207f282a263..5cacb5ea1b3 100644 --- a/lldb/scripts/Python/interface/SBFrame.i +++ b/lldb/scripts/Python/interface/SBFrame.i @@ -198,6 +198,14 @@ public: bool in_scope_only, lldb::DynamicValueType use_dynamic); + lldb::SBValueList + GetVariables (bool arguments, + bool locals, + bool statics, + bool in_scope_only, + bool include_runtime_support_values, + lldb::DynamicValueType use_dynamic); + lldb::SBValueList GetRegisters (); diff --git a/lldb/scripts/Python/interface/SBValue.i b/lldb/scripts/Python/interface/SBValue.i index 03938077275..e7e67b71898 100644 --- a/lldb/scripts/Python/interface/SBValue.i +++ b/lldb/scripts/Python/interface/SBValue.i @@ -314,6 +314,9 @@ public: bool MightHaveChildren (); + + bool + IsRuntimeSupportValue (); uint32_t GetNumChildren (); -- cgit v1.2.3