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 | 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::SBValue | GetValueForVariablePath (const char *var_path) |
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) |
Protected Attributes | |
lldb::ExecutionContextRefSP | m_opaque_sp |
Friends | |
class | SBBlock |
class | SBExecutionContext |
class | SBInstruction |
class | SBThread |
class | SBValue |
class | lldb_private::python::SWIGBridge |
class | lldb_private::lua::SWIGBridge |
SBFrame::SBFrame | ( | ) |
Definition at line 61 of file SBFrame.cpp.
References LLDB_INSTRUMENT_VA.
SBFrame::SBFrame | ( | const lldb::SBFrame & | rhs | ) |
Definition at line 70 of file SBFrame.cpp.
References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
|
default |
References lldb::operator==().
|
protected |
Definition at line 65 of file SBFrame.cpp.
References LLDB_INSTRUMENT_VA.
void SBFrame::Clear | ( | ) |
Definition at line 438 of file SBFrame.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
const char * SBFrame::Disassemble | ( | ) | const |
Definition at line 710 of file SBFrame.cpp.
References lldb_private::ConstString::GetCString(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
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 1012 of file SBFrame.cpp.
References lldb_private::StackFrame::CalculateTarget(), lldb_private::ValueObjectConstResult::Create(), error(), EvaluateExpression(), lldb_private::Status::FromErrorString(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::StackFrame::GetLanguage(), lldb_private::TargetProperties::GetLanguage(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb_private::SourceLanguage::name, lldb::SBExpressionOptions::SetFetchDynamicValue(), lldb::SBExpressionOptions::SetIgnoreBreakpoints(), lldb::SBExpressionOptions::SetLanguage(), lldb::SBValue::SetSP(), lldb::SBExpressionOptions::SetUnwindOnError(), and lldb_private::SourceLanguage::version.
Referenced by EvaluateExpression().
lldb::SBValue SBFrame::EvaluateExpression | ( | const char * | expr, |
const SBExpressionOptions & | options | ||
) |
Definition at line 1090 of file SBFrame.cpp.
References lldb_private::ValueObjectConstResult::Create(), lldb_private::StackFrame::DumpUsingSettingsFormat(), error(), lldb_private::Target::EvaluateExpression(), lldb_private::Status::FromErrorString(), lldb::SBError::GetCString(), lldb_private::StreamString::GetData(), lldb_private::TargetProperties::GetDisplayExpressionsInCrashlogs(), lldb::SBValue::GetError(), lldb::SBExpressionOptions::GetFetchDynamicValue(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::GetLog(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb::SBValue::GetSummary(), lldb_private::ExecutionContext::GetTargetPtr(), lldb::SBValue::GetValue(), LLDB_INSTRUMENT_VA, LLDB_LOGF, m_opaque_sp, lldb::SBExpressionOptions::ref(), lldb::SBValue::SetSP(), lldb::SBError::Success(), and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
SBValue SBFrame::EvaluateExpression | ( | const char * | expr, |
lldb::DynamicValueType | use_dynamic | ||
) |
Definition at line 1045 of file SBFrame.cpp.
References EvaluateExpression(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::StackFrame::GetLanguage(), lldb_private::TargetProperties::GetLanguage(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, 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 1067 of file SBFrame.cpp.
References EvaluateExpression(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::StackFrame::GetLanguage(), lldb_private::TargetProperties::GetLanguage(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, 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::FindRegister | ( | const char * | name | ) |
Definition at line 921 of file SBFrame.cpp.
References lldb_private::ValueObjectRegister::Create(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::StackFrame::GetRegisterContext(), lldb_private::Process::GetRunLock(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBValue::SetSP(), and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
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 546 of file SBFrame.cpp.
References lldb_private::StackFrame::CalculateTarget(), FindValue(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by FindValue().
SBValue SBFrame::FindValue | ( | const char * | name, |
ValueType | value_type, | ||
lldb::DynamicValueType | use_dynamic | ||
) |
Definition at line 563 of file SBFrame.cpp.
References 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::ExecutionContext::GetFramePtr(), lldb_private::Target::GetPersistentVariable(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::StackFrame::GetRegisterContext(), lldb_private::Process::GetRunLock(), lldb_private::StackFrame::GetSymbolContext(), lldb_private::ExecutionContext::GetTargetPtr(), lldb_private::StackFrame::GetValueObjectForFrameVariable(), lldb_private::StackFrame::GetVariableList(), lldb_private::Variable::IsInScope(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb_private::RegisterSet::name, lldb::SBValue::SetSP(), lldb_private::RegisterSet::short_name, and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
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 495 of file SBFrame.cpp.
References lldb_private::StackFrame::CalculateTarget(), FindVariable(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by FindVariable().
SBValue SBFrame::FindVariable | ( | const char * | var_name, |
lldb::DynamicValueType | use_dynamic | ||
) |
Definition at line 512 of file SBFrame.cpp.
References lldb_private::StackFrame::FindVariable(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBValue::SetSP(), and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
SBBlock SBFrame::GetBlock | ( | ) | const |
Gets the deepest block that contains the frame PC.
See also GetFrameBlock().
Definition at line 232 of file SBFrame.cpp.
References lldb_private::SymbolContext::block, lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::StackFrame::GetSymbolContext(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBBlock::SetPtr(), and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
lldb::addr_t SBFrame::GetCFA | ( | ) | const |
Definition at line 312 of file SBFrame.cpp.
References lldb_private::StackID::GetCallFrameAddress(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::StackFrame::GetStackID(), LLDB_INSTRUMENT_VA, LLDB_INVALID_ADDRESS, and m_opaque_sp.
SBCompileUnit SBFrame::GetCompileUnit | ( | ) | const |
Definition at line 161 of file SBFrame.cpp.
References lldb_private::SymbolContext::comp_unit, lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::StackFrame::GetSymbolContext(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBCompileUnit::reset(), and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
bool SBFrame::GetDescription | ( | lldb::SBStream & | description | ) |
Definition at line 986 of file SBFrame.cpp.
References lldb_private::StackFrame::DumpUsingSettingsFormat(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb_private::Stream::PutCString(), lldb::SBStream::ref(), and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
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 952 of file SBFrame.cpp.
References lldb_private::StackFrame::DumpUsingFormat(), error(), lldb::SBFormat::GetFormatEntrySP(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::ExecutionContext::GetTargetPtr(), m_opaque_sp, lldb::SBStream::ref(), and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
const char * SBFrame::GetDisplayFunctionName | ( | ) |
Definition at line 1277 of file SBFrame.cpp.
References lldb_private::StackFrame::GetDisplayFunctionName(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
addr_t SBFrame::GetFP | ( | ) | const |
Definition at line 394 of file SBFrame.cpp.
References lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, LLDB_INVALID_ADDRESS, m_opaque_sp, and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
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 253 of file SBFrame.cpp.
References lldb_private::StackFrame::GetFrameBlock(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBBlock::SetPtr(), and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
uint32_t SBFrame::GetFrameID | ( | ) | const |
Definition at line 297 of file SBFrame.cpp.
References lldb_private::StackFrame::GetFrameIndex(), lldb_private::ExecutionContext::GetFramePtr(), LLDB_INSTRUMENT_VA, m_opaque_sp, and UINT32_MAX.
|
protected |
Definition at line 86 of file SBFrame.cpp.
References m_opaque_sp.
Referenced by lldb::SBInstruction::EmulateWithFrame(), lldb::SBBlock::GetVariables(), IsEqual(), lldb::SBThread::ReturnFromFrame(), lldb::SBExecutionContext::SBExecutionContext(), lldb::SBThread::StepOutOfFrame(), and lldb::SBThread::StepOverUntil().
SBFunction SBFrame::GetFunction | ( | ) | const |
Definition at line 185 of file SBFrame.cpp.
References lldb_private::SymbolContext::function, lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::StackFrame::GetSymbolContext(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBFunction::reset(), and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
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 1229 of file SBFrame.cpp.
References GetFunctionName(), and LLDB_INSTRUMENT_VA.
Referenced by GetFunctionName().
const char * SBFrame::GetFunctionName | ( | ) | const |
Definition at line 1256 of file SBFrame.cpp.
References lldb_private::ExecutionContext::GetFramePtr(), lldb_private::StackFrame::GetFunctionName(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
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 1158 of file SBFrame.cpp.
References lldb_private::ExecutionContext::GetFramePtr(), lldb_private::StackFrame::GetLanguageSpecificData(), LLDB_INSTRUMENT_VA, lldb::SBStructuredData::m_impl_up, and m_opaque_sp.
SBLineEntry SBFrame::GetLineEntry | ( | ) | const |
Definition at line 274 of file SBFrame.cpp.
References lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::StackFrame::GetSymbolContext(), lldb_private::ExecutionContext::GetTargetPtr(), lldb_private::SymbolContext::line_entry, LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBLineEntry::SetLineEntry(), and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
SBModule SBFrame::GetModule | ( | ) | const |
Definition at line 136 of file SBFrame.cpp.
References lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::StackFrame::GetSymbolContext(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb_private::SymbolContext::module_sp, lldb::SBModule::SetSP(), and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
addr_t SBFrame::GetPC | ( | ) | const |
Definition at line 324 of file SBFrame.cpp.
References lldb_private::StackFrame::GetFrameCodeAddress(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::Address::GetOpcodeLoadAddress(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, LLDB_INVALID_ADDRESS, m_opaque_sp, and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
SBAddress SBFrame::GetPCAddress | ( | ) | const |
Definition at line 417 of file SBFrame.cpp.
References lldb_private::StackFrame::GetFrameCodeAddress(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBAddress::SetAddress(), and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
SBValueList SBFrame::GetRegisters | ( | ) |
Definition at line 891 of file SBFrame.cpp.
References lldb::SBValueList::Append(), lldb_private::ValueObjectRegisterSet::Create(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::StackFrame::GetRegisterContext(), lldb_private::Process::GetRunLock(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
addr_t SBFrame::GetSP | ( | ) | const |
Definition at line 371 of file SBFrame.cpp.
References lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, LLDB_INVALID_ADDRESS, m_opaque_sp, and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
SBSymbol SBFrame::GetSymbol | ( | ) | const |
Definition at line 209 of file SBFrame.cpp.
References lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::StackFrame::GetSymbolContext(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBSymbol::reset(), lldb_private::SymbolContext::symbol, and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
SBSymbolContext SBFrame::GetSymbolContext | ( | uint32_t | resolve_scope | ) | const |
Definition at line 116 of file SBFrame.cpp.
References lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
SBThread SBFrame::GetThread | ( | ) | const |
Definition at line 698 of file SBFrame.cpp.
References lldb_private::ExecutionContext::GetThreadSP(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by lldb::SBThread::StepOutOfFrame().
lldb::SBValue SBFrame::GetValueForVariablePath | ( | const char * | var_expr_cstr, |
DynamicValueType | use_dynamic | ||
) |
Definition at line 461 of file SBFrame.cpp.
References lldb_private::StackFrame::eExpressionPathOptionCheckPtrVsMember, lldb_private::StackFrame::eExpressionPathOptionsAllowDirectIVarAccess, lldb::eNoDynamicValues, error(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::ExecutionContext::GetTargetPtr(), lldb_private::StackFrame::GetValueForVariableExpressionPath(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBValue::SetSP(), and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
Referenced by GetValueForVariablePath().
lldb::SBValue SBFrame::GetValueForVariablePath | ( | const char * | var_path | ) |
The version that doesn't supply a 'use_dynamic' value will use the target's default.
Definition at line 444 of file SBFrame.cpp.
References lldb_private::StackFrame::CalculateTarget(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetTargetPtr(), GetValueForVariablePath(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
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 729 of file SBFrame.cpp.
References lldb_private::StackFrame::CalculateTarget(), lldb_private::TargetProperties::GetDisplayRuntimeSupportValues(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetTargetPtr(), GetVariables(), LLDB_INSTRUMENT_VA, 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().
lldb::SBValueList SBFrame::GetVariables | ( | bool | arguments, |
bool | locals, | ||
bool | statics, | ||
bool | in_scope_only, | ||
lldb::DynamicValueType | use_dynamic | ||
) |
Definition at line 758 of file SBFrame.cpp.
References lldb_private::TargetProperties::GetDisplayRuntimeSupportValues(), lldb_private::ExecutionContext::GetTargetPtr(), GetVariables(), LLDB_INSTRUMENT_VA, m_opaque_sp, 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 780 of file SBFrame.cpp.
References lldb::SBValueList::Append(), lldb::eNoDynamicValues, lldb::eValueTypeVariableArgument, lldb::eValueTypeVariableGlobal, lldb::eValueTypeVariableLocal, lldb::eValueTypeVariableStatic, lldb::eValueTypeVariableThreadLocal, lldb_private::Status::Fail(), lldb_private::Target::GetDebugger(), lldb_private::ExecutionContext::GetFramePtr(), lldb::SBVariablesOptions::GetIncludeArguments(), lldb::SBVariablesOptions::GetIncludeLocals(), lldb::SBVariablesOptions::GetIncludeRecognizedArguments(), lldb::SBVariablesOptions::GetIncludeRuntimeSupportValues(), lldb::SBVariablesOptions::GetIncludeStatics(), lldb::SBVariablesOptions::GetInScopeOnly(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::StackFrame::GetRecognizedFrame(), lldb_private::Process::GetRunLock(), lldb_private::VariableList::GetSize(), lldb_private::Process::GetTarget(), lldb_private::ExecutionContext::GetTargetPtr(), lldb_private::ExecutionContext::GetTargetSP(), lldb::SBVariablesOptions::GetUseDynamic(), lldb_private::StackFrame::GetValueObjectForFrameVariable(), lldb_private::StackFrame::GetVariableList(), INTERRUPT_REQUESTED, LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBValueList::SetError(), lldb::SBValue::SetSP(), and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
lldb::LanguageType SBFrame::GuessLanguage | ( | ) | const |
Definition at line 1235 of file SBFrame.cpp.
References lldb_private::SourceLanguage::AsLanguageType(), lldb::eLanguageTypeUnknown, lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::ExecutionContext::GetTargetPtr(), lldb_private::StackFrame::GuessLanguage(), LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
bool SBFrame::IsArtificial | ( | ) |
Definition at line 1199 of file SBFrame.cpp.
References IsArtificial(), and LLDB_INSTRUMENT_VA.
Referenced by IsArtificial().
bool SBFrame::IsArtificial | ( | ) | const |
Definition at line 1205 of file SBFrame.cpp.
References lldb_private::ExecutionContext::GetFramePtr(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
bool SBFrame::IsEqual | ( | const lldb::SBFrame & | that | ) | const |
Definition at line 678 of file SBFrame.cpp.
References GetFrameSP(), and LLDB_INSTRUMENT_VA.
Referenced by operator!=(), and operator==().
bool SBFrame::IsHidden | ( | ) | const |
Return whether a frame recognizer decided this frame should not be displayes in backtraces etc.
Definition at line 1217 of file SBFrame.cpp.
References lldb_private::ExecutionContext::GetFramePtr(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
bool SBFrame::IsInlined | ( | ) |
Return true if this frame represents an inlined function.
See also GetFunctionName().
Definition at line 1173 of file SBFrame.cpp.
References IsInlined(), and LLDB_INSTRUMENT_VA.
Referenced by IsInlined().
bool SBFrame::IsInlined | ( | ) | const |
Definition at line 1179 of file SBFrame.cpp.
References lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::ExecutionContext::GetTargetPtr(), lldb_private::StackFrame::IsInlined(), LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
bool SBFrame::IsValid | ( | ) | const |
Definition at line 94 of file SBFrame.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by lldb::SBThread::StepOutOfFrame().
|
explicit |
Definition at line 98 of file SBFrame.cpp.
References lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
bool SBFrame::operator!= | ( | const lldb::SBFrame & | rhs | ) | const |
Definition at line 692 of file SBFrame.cpp.
References IsEqual(), and LLDB_INSTRUMENT_VA.
const SBFrame & SBFrame::operator= | ( | const lldb::SBFrame & | rhs | ) |
Definition at line 78 of file SBFrame.cpp.
References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
bool SBFrame::operator== | ( | const lldb::SBFrame & | rhs | ) | const |
Definition at line 686 of file SBFrame.cpp.
References IsEqual(), and LLDB_INSTRUMENT_VA.
|
protected |
Definition at line 90 of file SBFrame.cpp.
References m_opaque_sp.
Referenced by lldb::SBValue::GetFrame(), lldb::SBExecutionContext::GetFrame(), lldb::SBThread::GetFrameAtIndex(), lldb::SBThread::GetSelectedFrame(), and lldb::SBThread::SetSelectedFrame().
bool SBFrame::SetPC | ( | lldb::addr_t | new_pc | ) |
Definition at line 348 of file SBFrame.cpp.
References lldb_private::ExecutionContext::GetFramePtr(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Process::GetRunLock(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
|
friend |
|
friend |
|
friend |
|
protected |
Definition at line 236 of file SBFrame.h.
Referenced by Clear(), Disassemble(), EvaluateExpression(), FindRegister(), FindValue(), FindVariable(), GetBlock(), GetCFA(), GetCompileUnit(), GetDescription(), GetDescriptionWithFormat(), GetDisplayFunctionName(), GetFP(), GetFrameBlock(), GetFrameID(), GetFrameSP(), GetFunction(), GetFunctionName(), GetLanguageSpecificData(), GetLineEntry(), GetModule(), GetPC(), GetPCAddress(), GetRegisters(), GetSP(), GetSymbol(), GetSymbolContext(), GetThread(), GetValueForVariablePath(), GetVariables(), GuessLanguage(), IsArtificial(), IsHidden(), IsInlined(), operator=(), SBFrame(), SetFrameSP(), and SetPC().