|
LLDB mainline
|
#include <SBFrame.h>
Public Member Functions | |
| SBFrame () | |
| SBFrame (const lldb::SBFrame &rhs) | |
| const lldb::SBFrame & | operator= (const lldb::SBFrame &rhs) |
| ~SBFrame () | |
| bool | IsEqual (const lldb::SBFrame &that) const |
| operator bool () const | |
| bool | IsValid () const |
| uint32_t | GetFrameID () const |
| lldb::addr_t | GetCFA () const |
| lldb::addr_t | GetPC () const |
| bool | SetPC (lldb::addr_t new_pc) |
| lldb::addr_t | GetSP () const |
| lldb::addr_t | GetFP () const |
| lldb::SBAddress | GetPCAddress () const |
| lldb::SBSymbolContext | GetSymbolContext (uint32_t resolve_scope) const |
| lldb::SBModule | GetModule () const |
| lldb::SBCompileUnit | GetCompileUnit () const |
| lldb::SBFunction | GetFunction () const |
| lldb::SBSymbol | GetSymbol () const |
| lldb::SBBlock | GetBlock () const |
| Gets the deepest block that contains the frame PC. | |
| const char * | GetFunctionName () |
| Get the appropriate function name for this frame. | |
| const char * | GetDisplayFunctionName () |
| const char * | GetFunctionName () const |
| lldb::LanguageType | GuessLanguage () const |
| bool | IsInlined () |
| Return true if this frame represents an inlined function. | |
| bool | IsInlined () const |
| bool | IsArtificial () |
| bool | IsArtificial () const |
| bool | IsSynthetic () const |
| bool | IsHidden () const |
| Return whether a frame recognizer decided this frame should not be displayes in backtraces etc. | |
| lldb::SBValue | EvaluateExpression (const char *expr) |
| The version that doesn't supply a 'use_dynamic' value will use the target's default. | |
| lldb::SBValue | EvaluateExpression (const char *expr, lldb::DynamicValueType use_dynamic) |
| lldb::SBValue | EvaluateExpression (const char *expr, lldb::DynamicValueType use_dynamic, bool unwind_on_error) |
| lldb::SBValue | EvaluateExpression (const char *expr, const SBExpressionOptions &options) |
| SBStructuredData | GetLanguageSpecificData () const |
| Language plugins can use this API to report language-specific runtime information about this compile unit, such as additional language version details or feature flags. | |
| lldb::SBBlock | GetFrameBlock () const |
| Gets the lexical block that defines the stack frame. | |
| lldb::SBLineEntry | GetLineEntry () const |
| lldb::SBThread | GetThread () const |
| const char * | Disassemble () const |
| void | Clear () |
| bool | operator== (const lldb::SBFrame &rhs) const |
| bool | operator!= (const lldb::SBFrame &rhs) const |
| lldb::SBValueList | GetVariables (bool arguments, bool locals, bool statics, bool in_scope_only) |
| The version that doesn't supply a 'use_dynamic' value will use the target's default. | |
| lldb::SBValueList | GetVariables (bool arguments, bool locals, bool statics, bool in_scope_only, lldb::DynamicValueType use_dynamic) |
| lldb::SBValueList | GetVariables (const lldb::SBVariablesOptions &options) |
| lldb::SBValueList | GetRegisters () |
| lldb::SBValue | FindRegister (const char *name) |
| lldb::SBValue | FindVariable (const char *var_name) |
| The version that doesn't supply a 'use_dynamic' value will use the target's default. | |
| lldb::SBValue | FindVariable (const char *var_name, lldb::DynamicValueType use_dynamic) |
| lldb::SBValue | GetValueForVariablePath (const char *var_expr_cstr, DynamicValueType use_dynamic, lldb::DILMode mode=lldb::eDILModeFull) |
| lldb::SBValue | GetValueForVariablePath (const char *var_path, lldb::DILMode mode=lldb::eDILModeFull) |
| The version that doesn't supply a 'use_dynamic' value will use the target's default. | |
| lldb::SBValue | FindValue (const char *name, ValueType value_type) |
| Find variables, register sets, registers, or persistent variables using the frame as the scope. | |
| lldb::SBValue | FindValue (const char *name, ValueType value_type, lldb::DynamicValueType use_dynamic) |
| bool | GetDescription (lldb::SBStream &description) |
| SBError | GetDescriptionWithFormat (const SBFormat &format, SBStream &output) |
Similar to GetDescription() but the format of the description can be configured via the format parameter. | |
Protected Member Functions | |
| SBFrame (const lldb::StackFrameSP &lldb_object_sp) | |
| lldb::StackFrameSP | GetFrameSP () const |
| void | SetFrameSP (const lldb::StackFrameSP &lldb_object_sp) |
Static Protected Member Functions | |
| static SBValue | CreateProcessIsRunningExprEvalError () |
| Return an SBValue containing an error message that warns the process is not currently stopped. | |
Protected Attributes | |
| lldb::ExecutionContextRefSP | m_opaque_sp |
Friends | |
| class | SBBlock |
| class | SBExecutionContext |
| class | SBFrameList |
| class | SBInstruction |
| class | SBThread |
| class | SBValue |
| class | lldb_private::ScriptInterpreter |
| class | lldb_private::python::SWIGBridge |
| class | lldb_private::lua::SWIGBridge |
| SBFrame::SBFrame | ( | ) |
Definition at line 63 of file SBFrame.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by GetFunctionName(), IsArtificial(), IsEqual(), IsInlined(), lldb_private::lua::SWIGBridge, operator!=(), operator=(), operator==(), and SBFrame().
| SBFrame::SBFrame | ( | const lldb::SBFrame & | rhs | ) |
Definition at line 72 of file SBFrame.cpp.
References lldb_private::clone(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBFrame().
|
default |
References Clear(), Disassemble(), lldb::eDILModeFull, FindRegister(), FindValue(), FindVariable(), GetBlock(), GetCFA(), GetCompileUnit(), GetDescription(), GetDescriptionWithFormat(), GetDisplayFunctionName(), GetFP(), GetFrameBlock(), GetFrameID(), GetFunction(), GetFunctionName(), GetLanguageSpecificData(), GetLineEntry(), GetModule(), GetPC(), GetPCAddress(), GetRegisters(), GetSP(), GetSymbol(), GetSymbolContext(), GetThread(), GetValueForVariablePath(), GetVariables(), GuessLanguage(), IsArtificial(), IsEqual(), IsHidden(), IsInlined(), IsSynthetic(), IsValid(), operator!=(), operator==(), and SetPC().
|
protected |
Definition at line 67 of file SBFrame.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
| void SBFrame::Clear | ( | ) |
Definition at line 362 of file SBFrame.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBFrame().
|
staticprotected |
Return an SBValue containing an error message that warns the process is not currently stopped.
Definition at line 1038 of file SBFrame.cpp.
References lldb_private::ValueObjectConstResult::Create(), error(), lldb_private::Status::FromErrorString(), SBValue, and lldb::SBValue::SetSP().
Referenced by EvaluateExpression(), EvaluateExpression(), EvaluateExpression(), EvaluateExpression(), and lldb_private::lua::SWIGBridge.
| const char * SBFrame::Disassemble | ( | ) | const |
Definition at line 624 of file SBFrame.cpp.
References lldb_private::API, lldb_private::ConstString::GetCString(), lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, and m_opaque_sp.
Referenced by ~SBFrame().
| SBValue SBFrame::EvaluateExpression | ( | const char * | expr | ) |
The version that doesn't supply a 'use_dynamic' value will use the target's default.
Definition at line 961 of file SBFrame.cpp.
References lldb_private::API, lldb_private::StackFrame::CalculateTarget(), CreateProcessIsRunningExprEvalError(), EvaluateExpression(), lldb_private::StackFrame::GetLanguage(), lldb_private::TargetProperties::GetLanguage(), lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, lldb_private::SourceLanguage::name, SBValue, lldb::SBExpressionOptions::SetFetchDynamicValue(), lldb::SBExpressionOptions::SetIgnoreBreakpoints(), lldb::SBExpressionOptions::SetLanguage(), lldb::SBExpressionOptions::SetUnwindOnError(), and lldb_private::SourceLanguage::version.
Referenced by EvaluateExpression(), EvaluateExpression(), and EvaluateExpression().
| lldb::SBValue SBFrame::EvaluateExpression | ( | const char * | expr, |
| const SBExpressionOptions & | options ) |
Definition at line 1048 of file SBFrame.cpp.
References lldb_private::API, CreateProcessIsRunningExprEvalError(), lldb_private::StackFrame::DumpUsingSettingsFormat(), lldb_private::Target::EvaluateExpression(), lldb_private::Expressions, lldb_private::StreamString::GetData(), lldb_private::TargetProperties::GetDisplayExpressionsInCrashlogs(), lldb::SBExpressionOptions::GetFetchDynamicValue(), lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, LLDB_LOGF, m_opaque_sp, lldb::SBExpressionOptions::ref(), SBValue, and lldb::SBValue::SetSP().
| SBValue SBFrame::EvaluateExpression | ( | const char * | expr, |
| lldb::DynamicValueType | use_dynamic ) |
Definition at line 989 of file SBFrame.cpp.
References lldb_private::API, CreateProcessIsRunningExprEvalError(), EvaluateExpression(), lldb_private::StackFrame::GetLanguage(), lldb_private::TargetProperties::GetLanguage(), lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, lldb_private::SourceLanguage::name, lldb::SBExpressionOptions::SetFetchDynamicValue(), lldb::SBExpressionOptions::SetIgnoreBreakpoints(), lldb::SBExpressionOptions::SetLanguage(), lldb::SBExpressionOptions::SetUnwindOnError(), and lldb_private::SourceLanguage::version.
| SBValue SBFrame::EvaluateExpression | ( | const char * | expr, |
| lldb::DynamicValueType | use_dynamic, | ||
| bool | unwind_on_error ) |
Definition at line 1013 of file SBFrame.cpp.
References lldb_private::API, CreateProcessIsRunningExprEvalError(), EvaluateExpression(), lldb_private::StackFrame::GetLanguage(), lldb_private::TargetProperties::GetLanguage(), lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, lldb_private::SourceLanguage::name, SBValue, lldb::SBExpressionOptions::SetFetchDynamicValue(), lldb::SBExpressionOptions::SetIgnoreBreakpoints(), lldb::SBExpressionOptions::SetLanguage(), lldb::SBExpressionOptions::SetUnwindOnError(), and lldb_private::SourceLanguage::version.
| SBValue SBFrame::FindRegister | ( | const char * | name | ) |
Definition at line 886 of file SBFrame.cpp.
References lldb_private::API, lldb_private::ValueObjectRegister::Create(), lldb_private::GetLog(), lldb_private::StackFrame::GetRegisterContext(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, SBValue, and lldb::SBValue::SetSP().
Referenced by ~SBFrame().
Find variables, register sets, registers, or persistent variables using the frame as the scope.
NB. This function does not look up ivars in the function object pointer. To do that use GetValueForVariablePath.
The version that doesn't supply a 'use_dynamic' value will use the target's default.
Definition at line 461 of file SBFrame.cpp.
References lldb_private::API, FindValue(), lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, and SBValue.
Referenced by FindValue(), and ~SBFrame().
| SBValue SBFrame::FindValue | ( | const char * | name, |
| ValueType | value_type, | ||
| lldb::DynamicValueType | use_dynamic ) |
Definition at line 480 of file SBFrame.cpp.
References lldb_private::API, lldb_private::Block::AppendVariables(), lldb_private::VariableList::AppendVariablesIfUnique(), lldb_private::SymbolContext::block, lldb_private::ValueObjectRegister::Create(), lldb_private::ValueObjectRegisterSet::Create(), lldb::eNoDynamicValues, lldb::eValueTypeConstResult, lldb::eValueTypeRegister, lldb::eValueTypeRegisterSet, lldb::eValueTypeVariableArgument, lldb::eValueTypeVariableGlobal, lldb::eValueTypeVariableLocal, lldb::eValueTypeVariableStatic, lldb::eValueTypeVariableThreadLocal, lldb_private::VariableList::FindVariable(), lldb_private::GetBaseValueType(), lldb_private::GetLog(), lldb_private::Target::GetPersistentVariable(), lldb_private::StackFrame::GetRegisterContext(), lldb_private::GetStoppedExecutionContext(), lldb_private::StackFrame::GetSymbolContext(), lldb_private::StackFrame::GetValueObjectForFrameVariable(), lldb_private::StackFrame::GetVariableList(), lldb_private::Variable::IsInScope(), lldb_private::IsSyntheticValueType(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, lldb_private::RegisterSet::name, SBValue, lldb::SBValue::SetSP(), and lldb_private::RegisterSet::short_name.
| SBValue SBFrame::FindVariable | ( | const char * | var_name | ) |
The version that doesn't supply a 'use_dynamic' value will use the target's default.
Definition at line 418 of file SBFrame.cpp.
References lldb_private::API, FindVariable(), lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, and SBValue.
Referenced by FindVariable(), and ~SBFrame().
| SBValue SBFrame::FindVariable | ( | const char * | var_name, |
| lldb::DynamicValueType | use_dynamic ) |
Definition at line 436 of file SBFrame.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, SBValue, and lldb::SBValue::SetSP().
| SBBlock SBFrame::GetBlock | ( | ) | const |
Gets the deepest block that contains the frame PC.
See also GetFrameBlock().
Definition at line 198 of file SBFrame.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, and SBBlock.
Referenced by ~SBFrame().
| lldb::addr_t SBFrame::GetCFA | ( | ) | const |
Definition at line 261 of file SBFrame.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_INVALID_ADDRESS, LLDB_LOG_ERROR, and m_opaque_sp.
Referenced by ~SBFrame().
| SBCompileUnit SBFrame::GetCompileUnit | ( | ) | const |
Definition at line 152 of file SBFrame.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, and lldb::SBCompileUnit.
Referenced by ~SBFrame().
| bool SBFrame::GetDescription | ( | lldb::SBStream & | description | ) |
Definition at line 942 of file SBFrame.cpp.
References lldb_private::API, lldb_private::StackFrame::DumpUsingSettingsFormat(), lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, lldb_private::Stream::PutCString(), and lldb::SBStream::ref().
Referenced by ~SBFrame().
Similar to GetDescription() but the format of the description can be configured via the format parameter.
See https://lldb.llvm.org/use/formatting.html for more information on format strings.
| [in] | format | The format to use for generating the description. |
| [out] | output | The stream where the description will be written to. |
Definition at line 916 of file SBFrame.cpp.
References lldb_private::StackFrame::DumpUsingFormat(), error(), lldb_private::Status::FromError(), lldb::SBFormat::GetFormatEntrySP(), lldb_private::GetStoppedExecutionContext(), m_opaque_sp, and lldb::SBStream::ref().
Referenced by ~SBFrame().
| const char * SBFrame::GetDisplayFunctionName | ( | ) |
Definition at line 1235 of file SBFrame.cpp.
References lldb_private::API, lldb_private::StackFrame::GetDisplayFunctionName(), lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, and m_opaque_sp.
Referenced by ~SBFrame().
| addr_t SBFrame::GetFP | ( | ) | const |
Definition at line 330 of file SBFrame.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_INVALID_ADDRESS, LLDB_LOG_ERROR, and m_opaque_sp.
Referenced by ~SBFrame().
| SBBlock SBFrame::GetFrameBlock | ( | ) | const |
Gets the lexical block that defines the stack frame.
Another way to think of this is it will return the block that contains all of the variables for a stack frame. Inlined functions are represented as SBBlock objects that have inlined function information: the name of the inlined function, where it was called from. The block that is returned will be the first block at or above the block for the PC (SBFrame::GetBlock()) that defines the scope of the frame. When a function contains no inlined functions, this will be the top most lexical block that defines the function. When a function has inlined functions and the PC is currently in one of those inlined functions, this method will return the inlined block that defines this frame. If the PC isn't currently in an inlined function, the lexical block that defines the function is returned.
Definition at line 213 of file SBFrame.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, and SBBlock.
Referenced by ~SBFrame().
| uint32_t SBFrame::GetFrameID | ( | ) | const |
Definition at line 244 of file SBFrame.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, and UINT32_MAX.
Referenced by ~SBFrame().
|
protected |
Definition at line 88 of file SBFrame.cpp.
References m_opaque_sp.
Referenced by lldb::SBInstruction::EmulateWithFrame(), lldb::SBBlock::GetVariables(), IsEqual(), lldb_private::lua::SWIGBridge, operator bool(), lldb::SBThread::ReturnFromFrame(), lldb::SBExecutionContext::SBExecutionContext(), lldb::SBThread::StepOutOfFrame(), and lldb::SBThread::StepOverUntil().
| SBFunction SBFrame::GetFunction | ( | ) | const |
Definition at line 168 of file SBFrame.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, and lldb::SBFunction.
Referenced by ~SBFrame().
| const char * SBFrame::GetFunctionName | ( | ) |
Get the appropriate function name for this frame.
Inlined functions in LLDB are represented by Blocks that have inlined function information, so just looking at the SBFunction or SBSymbol for a frame isn't enough. This function will return the appropriate function, symbol or inlined function name for the frame.
This function returns:
See also IsInlined().
Definition at line 1199 of file SBFrame.cpp.
References GetFunctionName(), LLDB_INSTRUMENT_VA, and SBFrame().
Referenced by GetFunctionName(), and ~SBFrame().
| const char * SBFrame::GetFunctionName | ( | ) | const |
Definition at line 1220 of file SBFrame.cpp.
References lldb_private::API, lldb_private::StackFrame::GetFunctionName(), lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, and m_opaque_sp.
| SBStructuredData SBFrame::GetLanguageSpecificData | ( | ) | const |
Language plugins can use this API to report language-specific runtime information about this compile unit, such as additional language version details or feature flags.
Definition at line 1105 of file SBFrame.cpp.
References lldb_private::API, lldb_private::StackFrame::GetLanguageSpecificData(), lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, lldb::SBStructuredData::m_impl_up, and m_opaque_sp.
Referenced by ~SBFrame().
| SBLineEntry SBFrame::GetLineEntry | ( | ) | const |
Definition at line 228 of file SBFrame.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, and lldb::SBLineEntry.
Referenced by ~SBFrame().
| SBModule SBFrame::GetModule | ( | ) | const |
Definition at line 131 of file SBFrame.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), lldb_private::StackFrame::GetSymbolContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, lldb_private::SymbolContext::module_sp, lldb::SBModule, and lldb::SBModule::SetSP().
Referenced by ~SBFrame().
| addr_t SBFrame::GetPC | ( | ) | const |
Definition at line 276 of file SBFrame.cpp.
References lldb_private::API, lldb_private::eCode, lldb_private::GetLog(), lldb_private::Target::GetOpcodeLoadAddress(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_INVALID_ADDRESS, LLDB_LOG_ERROR, and m_opaque_sp.
Referenced by ~SBFrame().
| SBAddress SBFrame::GetPCAddress | ( | ) | const |
Definition at line 347 of file SBFrame.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, and lldb::SBAddress.
Referenced by ~SBFrame().
| SBValueList SBFrame::GetRegisters | ( | ) |
Definition at line 860 of file SBFrame.cpp.
References lldb_private::API, lldb::SBValueList::Append(), lldb_private::ValueObjectRegisterSet::Create(), lldb_private::GetLog(), lldb_private::StackFrame::GetRegisterContext(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, and lldb::SBValueList.
Referenced by ~SBFrame().
| addr_t SBFrame::GetSP | ( | ) | const |
Definition at line 313 of file SBFrame.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_INVALID_ADDRESS, LLDB_LOG_ERROR, and m_opaque_sp.
Referenced by ~SBFrame().
| SBSymbol SBFrame::GetSymbol | ( | ) | const |
Definition at line 183 of file SBFrame.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, and lldb::SBSymbol.
Referenced by ~SBFrame().
| SBSymbolContext SBFrame::GetSymbolContext | ( | uint32_t | resolve_scope | ) | const |
Definition at line 112 of file SBFrame.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, and m_opaque_sp.
Referenced by ~SBFrame().
| SBThread SBFrame::GetThread | ( | ) | const |
Definition at line 608 of file SBFrame.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, and SBThread.
Referenced by lldb::SBThread::StepOutOfFrame(), and ~SBFrame().
| lldb::SBValue SBFrame::GetValueForVariablePath | ( | const char * | var_expr_cstr, |
| DynamicValueType | use_dynamic, | ||
| lldb::DILMode | mode = lldb::eDILModeFull ) |
Definition at line 388 of file SBFrame.cpp.
References lldb_private::API, lldb_private::StackFrame::eExpressionPathOptionCheckPtrVsMember, lldb_private::StackFrame::eExpressionPathOptionsAllowDirectIVarAccess, lldb::eNoDynamicValues, error(), lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, SBValue, and lldb::SBValue::SetSP().
Referenced by GetValueForVariablePath(), and ~SBFrame().
| lldb::SBValue SBFrame::GetValueForVariablePath | ( | const char * | var_path, |
| lldb::DILMode | mode = lldb::eDILModeFull ) |
The version that doesn't supply a 'use_dynamic' value will use the target's default.
Definition at line 368 of file SBFrame.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), GetValueForVariablePath(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, and SBValue.
| SBValueList SBFrame::GetVariables | ( | bool | arguments, |
| bool | locals, | ||
| bool | statics, | ||
| bool | in_scope_only ) |
The version that doesn't supply a 'use_dynamic' value will use the target's default.
Definition at line 640 of file SBFrame.cpp.
References lldb_private::API, lldb_private::TargetProperties::GetDisplayRuntimeSupportValues(), lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), GetVariables(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, lldb::SBVariablesOptions::SetIncludeArguments(), lldb::SBVariablesOptions::SetIncludeLocals(), lldb::SBVariablesOptions::SetIncludeRuntimeSupportValues(), lldb::SBVariablesOptions::SetIncludeStatics(), lldb::SBVariablesOptions::SetInScopeOnly(), and lldb::SBVariablesOptions::SetUseDynamic().
Referenced by GetVariables(), GetVariables(), and ~SBFrame().
| lldb::SBValueList SBFrame::GetVariables | ( | bool | arguments, |
| bool | locals, | ||
| bool | statics, | ||
| bool | in_scope_only, | ||
| lldb::DynamicValueType | use_dynamic ) |
Definition at line 672 of file SBFrame.cpp.
References lldb_private::API, lldb_private::TargetProperties::GetDisplayRuntimeSupportValues(), lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), GetVariables(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, lldb::SBValueList, lldb::SBVariablesOptions::SetIncludeArguments(), lldb::SBVariablesOptions::SetIncludeLocals(), lldb::SBVariablesOptions::SetIncludeRuntimeSupportValues(), lldb::SBVariablesOptions::SetIncludeStatics(), lldb::SBVariablesOptions::SetInScopeOnly(), and lldb::SBVariablesOptions::SetUseDynamic().
| SBValueList SBFrame::GetVariables | ( | const lldb::SBVariablesOptions & | options | ) |
Definition at line 819 of file SBFrame.cpp.
References lldb_private::API, lldb::SBValueList::Append(), FetchRecognizedArguments(), FetchVariablesUnlessInterrupted(), lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), lldb::SBVariablesOptions::GetUseDynamic(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, m_opaque_sp, lldb::SBTarget, SBValue, lldb::SBValueList, lldb::SBValueList::SetError(), lldb::SBValue::SetSP(), and Yes.
| lldb::LanguageType SBFrame::GuessLanguage | ( | ) | const |
Definition at line 1205 of file SBFrame.cpp.
References lldb_private::API, lldb_private::SourceLanguage::AsLanguageType(), lldb::eLanguageTypeUnknown, lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), lldb_private::StackFrame::GuessLanguage(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, and m_opaque_sp.
Referenced by ~SBFrame().
| bool SBFrame::IsArtificial | ( | ) |
Definition at line 1145 of file SBFrame.cpp.
References IsArtificial(), LLDB_INSTRUMENT_VA, and SBFrame().
Referenced by IsArtificial(), and ~SBFrame().
| bool SBFrame::IsArtificial | ( | ) | const |
Definition at line 1151 of file SBFrame.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), lldb_private::StackFrame::IsArtificial(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, and m_opaque_sp.
| bool SBFrame::IsEqual | ( | const lldb::SBFrame & | that | ) | const |
Definition at line 588 of file SBFrame.cpp.
References GetFrameSP(), LLDB_INSTRUMENT_VA, and SBFrame().
Referenced by operator!=(), operator==(), and ~SBFrame().
| bool SBFrame::IsHidden | ( | ) | const |
Return whether a frame recognizer decided this frame should not be displayes in backtraces etc.
Definition at line 1183 of file SBFrame.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), lldb_private::StackFrame::IsHidden(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, and m_opaque_sp.
Referenced by ~SBFrame().
| bool SBFrame::IsInlined | ( | ) |
Return true if this frame represents an inlined function.
See also GetFunctionName().
Definition at line 1124 of file SBFrame.cpp.
References IsInlined(), LLDB_INSTRUMENT_VA, and SBFrame().
Referenced by IsInlined(), and ~SBFrame().
| bool SBFrame::IsInlined | ( | ) | const |
Definition at line 1130 of file SBFrame.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), lldb_private::StackFrame::IsInlined(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, and m_opaque_sp.
| bool SBFrame::IsSynthetic | ( | ) | const |
Definition at line 1167 of file SBFrame.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), lldb_private::StackFrame::IsSynthetic(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, and m_opaque_sp.
Referenced by ~SBFrame().
| bool SBFrame::IsValid | ( | ) | const |
Definition at line 96 of file SBFrame.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by lldb::SBThread::StepOutOfFrame(), and ~SBFrame().
|
explicit |
Definition at line 100 of file SBFrame.cpp.
References lldb_private::API, GetFrameSP(), lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, and m_opaque_sp.
| bool SBFrame::operator!= | ( | const lldb::SBFrame & | rhs | ) | const |
Definition at line 602 of file SBFrame.cpp.
References IsEqual(), LLDB_INSTRUMENT_VA, and SBFrame().
Referenced by ~SBFrame().
| const SBFrame & SBFrame::operator= | ( | const lldb::SBFrame & | rhs | ) |
Definition at line 80 of file SBFrame.cpp.
References lldb_private::clone(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBFrame().
| bool SBFrame::operator== | ( | const lldb::SBFrame & | rhs | ) | const |
Definition at line 596 of file SBFrame.cpp.
References IsEqual(), LLDB_INSTRUMENT_VA, and SBFrame().
Referenced by ~SBFrame().
|
protected |
Definition at line 92 of file SBFrame.cpp.
References m_opaque_sp.
Referenced by lldb::SBExecutionContext::GetFrame(), lldb::SBValue::GetFrame(), lldb::SBFrameList::GetFrameAtIndex(), lldb::SBThread::GetFrameAtIndex(), lldb::SBThread::GetSelectedFrame(), lldb_private::lua::SWIGBridge, and lldb::SBThread::SetSelectedFrame().
| bool SBFrame::SetPC | ( | lldb::addr_t | new_pc | ) |
Definition at line 295 of file SBFrame.cpp.
References lldb_private::API, lldb_private::GetLog(), lldb_private::GetStoppedExecutionContext(), LLDB_INSTRUMENT_VA, LLDB_LOG_ERROR, and m_opaque_sp.
Referenced by ~SBFrame().
|
friend |
Definition at line 236 of file SBFrame.h.
References CreateProcessIsRunningExprEvalError(), GetFrameSP(), SBFrame(), SBValue, and SetFrameSP().
|
friend |
|
friend |
|
friend |
Definition at line 227 of file SBFrame.h.
References SBBlock.
Referenced by GetBlock(), GetFrameBlock(), and SBBlock.
|
friend |
Definition at line 228 of file SBFrame.h.
References SBExecutionContext.
Referenced by SBExecutionContext.
|
friend |
|
friend |
|
friend |
Definition at line 231 of file SBFrame.h.
References SBThread.
Referenced by GetThread(), and SBThread.
|
friend |
Definition at line 232 of file SBFrame.h.
References SBValue.
Referenced by CreateProcessIsRunningExprEvalError(), EvaluateExpression(), EvaluateExpression(), EvaluateExpression(), FindRegister(), FindValue(), FindValue(), FindVariable(), FindVariable(), GetValueForVariablePath(), GetValueForVariablePath(), GetVariables(), lldb_private::lua::SWIGBridge, and SBValue.
|
protected |
Definition at line 248 of file SBFrame.h.
Referenced by Clear(), Disassemble(), EvaluateExpression(), EvaluateExpression(), EvaluateExpression(), EvaluateExpression(), FindRegister(), FindValue(), FindValue(), FindVariable(), FindVariable(), GetBlock(), GetCFA(), GetCompileUnit(), GetDescription(), GetDescriptionWithFormat(), GetDisplayFunctionName(), GetFP(), GetFrameBlock(), GetFrameID(), GetFrameSP(), GetFunction(), GetFunctionName(), GetLanguageSpecificData(), GetLineEntry(), GetModule(), lldb_private::ScriptInterpreter::GetOpaqueTypeFromSBFrame(), GetPC(), GetPCAddress(), GetRegisters(), GetSP(), GetSymbol(), GetSymbolContext(), GetThread(), GetValueForVariablePath(), GetValueForVariablePath(), GetVariables(), GetVariables(), GetVariables(), GuessLanguage(), IsArtificial(), IsHidden(), IsInlined(), IsSynthetic(), operator bool(), operator=(), SBFrame(), SBFrame(), SBFrame(), SetFrameSP(), and SetPC().