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 |
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) |
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) |
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 59 of file SBFrame.cpp.
References LLDB_INSTRUMENT_VA.
SBFrame::SBFrame | ( | const lldb::SBFrame & | rhs | ) |
Definition at line 68 of file SBFrame.cpp.
References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
|
default |
|
protected |
Definition at line 63 of file SBFrame.cpp.
References LLDB_INSTRUMENT_VA.
void SBFrame::Clear | ( | ) |
Definition at line 436 of file SBFrame.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
const char * SBFrame::Disassemble | ( | ) | const |
Definition at line 708 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 976 of file SBFrame.cpp.
References lldb_private::StackFrame::CalculateTarget(), lldb_private::ValueObjectConstResult::Create(), lldb::eLanguageTypeUnknown, error(), EvaluateExpression(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::StackFrame::GetLanguage(), lldb_private::TargetProperties::GetLanguage(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBExpressionOptions::SetFetchDynamicValue(), lldb::SBExpressionOptions::SetIgnoreBreakpoints(), lldb::SBExpressionOptions::SetLanguage(), lldb::SBValue::SetSP(), and lldb::SBExpressionOptions::SetUnwindOnError().
Referenced by EvaluateExpression().
lldb::SBValue SBFrame::EvaluateExpression | ( | const char * | expr, |
const SBExpressionOptions & | options | ||
) |
Definition at line 1049 of file SBFrame.cpp.
References lldb_private::ValueObjectConstResult::Create(), lldb_private::StackFrame::DumpUsingSettingsFormat(), error(), lldb_private::Target::EvaluateExpression(), 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 1008 of file SBFrame.cpp.
References lldb::eLanguageTypeUnknown, EvaluateExpression(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::StackFrame::GetLanguage(), lldb_private::TargetProperties::GetLanguage(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBExpressionOptions::SetFetchDynamicValue(), lldb::SBExpressionOptions::SetIgnoreBreakpoints(), lldb::SBExpressionOptions::SetLanguage(), and lldb::SBExpressionOptions::SetUnwindOnError().
SBValue SBFrame::EvaluateExpression | ( | const char * | expr, |
lldb::DynamicValueType | use_dynamic, | ||
bool | unwind_on_error | ||
) |
Definition at line 1028 of file SBFrame.cpp.
References lldb::eLanguageTypeUnknown, EvaluateExpression(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::StackFrame::GetLanguage(), lldb_private::TargetProperties::GetLanguage(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBExpressionOptions::SetFetchDynamicValue(), lldb::SBExpressionOptions::SetIgnoreBreakpoints(), lldb::SBExpressionOptions::SetLanguage(), and lldb::SBExpressionOptions::SetUnwindOnError().
SBValue SBFrame::FindRegister | ( | const char * | name | ) |
Definition at line 919 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 544 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 561 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 493 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 510 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 230 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 310 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 159 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 950 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().
const char * SBFrame::GetDisplayFunctionName | ( | ) |
Definition at line 1235 of file SBFrame.cpp.
References lldb_private::ConstString::AsCString(), lldb_private::SymbolContext::block, lldb_private::SymbolContext::function, lldb_private::Block::GetContainingInlinedBlock(), lldb_private::ConstString::GetCString(), lldb_private::InlineFunctionInfo::GetDisplayName(), lldb_private::Function::GetDisplayName(), lldb_private::Symbol::GetDisplayName(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::Block::GetInlinedFunctionInfo(), 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::symbol, and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
addr_t SBFrame::GetFP | ( | ) | const |
Definition at line 392 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 251 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 295 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 84 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 183 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 1166 of file SBFrame.cpp.
References GetFunctionName(), and LLDB_INSTRUMENT_VA.
Referenced by GetFunctionName().
const char * SBFrame::GetFunctionName | ( | ) | const |
Definition at line 1193 of file SBFrame.cpp.
References lldb_private::ConstString::AsCString(), lldb_private::SymbolContext::block, lldb_private::SymbolContext::function, lldb_private::Block::GetContainingInlinedBlock(), lldb_private::ConstString::GetCString(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::Block::GetInlinedFunctionInfo(), lldb_private::InlineFunctionInfo::GetName(), lldb_private::Function::GetName(), lldb_private::Symbol::GetName(), 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::symbol, and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
SBLineEntry SBFrame::GetLineEntry | ( | ) | const |
Definition at line 272 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 134 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 322 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 415 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 889 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 369 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 207 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 114 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 696 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 459 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 442 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 727 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 756 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 778 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 1172 of file SBFrame.cpp.
References 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 1147 of file SBFrame.cpp.
References IsArtificial(), and LLDB_INSTRUMENT_VA.
Referenced by IsArtificial().
bool SBFrame::IsArtificial | ( | ) | const |
Definition at line 1153 of file SBFrame.cpp.
References lldb_private::ExecutionContext::GetFramePtr(), lldb_private::StackFrame::IsArtificial(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
bool SBFrame::IsEqual | ( | const lldb::SBFrame & | that | ) | const |
Definition at line 676 of file SBFrame.cpp.
References GetFrameSP(), and LLDB_INSTRUMENT_VA.
Referenced by operator!=(), and operator==().
bool SBFrame::IsInlined | ( | ) |
Return true if this frame represents an inlined function.
See also GetFunctionName().
Definition at line 1117 of file SBFrame.cpp.
References IsInlined(), and LLDB_INSTRUMENT_VA.
Referenced by IsInlined().
bool SBFrame::IsInlined | ( | ) | const |
Definition at line 1123 of file SBFrame.cpp.
References lldb_private::SymbolContext::block, lldb_private::Block::GetContainingInlinedBlock(), 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, and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
bool SBFrame::IsValid | ( | ) | const |
Definition at line 92 of file SBFrame.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by lldb::SBThread::StepOutOfFrame().
|
explicit |
Definition at line 96 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 690 of file SBFrame.cpp.
References IsEqual(), and LLDB_INSTRUMENT_VA.
const SBFrame & SBFrame::operator= | ( | const lldb::SBFrame & | rhs | ) |
Definition at line 76 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 684 of file SBFrame.cpp.
References IsEqual(), and LLDB_INSTRUMENT_VA.
|
protected |
Definition at line 88 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 346 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 212 of file SBFrame.h.
Referenced by Clear(), Disassemble(), EvaluateExpression(), FindRegister(), FindValue(), FindVariable(), GetBlock(), GetCFA(), GetCompileUnit(), GetDescription(), GetDisplayFunctionName(), GetFP(), GetFrameBlock(), GetFrameID(), GetFrameSP(), GetFunction(), GetFunctionName(), GetLineEntry(), GetModule(), GetPC(), GetPCAddress(), GetRegisters(), GetSP(), GetSymbol(), GetSymbolContext(), GetThread(), GetValueForVariablePath(), GetVariables(), GuessLanguage(), IsArtificial(), IsInlined(), operator=(), SBFrame(), SetFrameSP(), and SetPC().