LLDB mainline
|
A mix in class that contains a generic user ID. More...
#include "lldb/Core/UserID.h"
Classes | |
class | IDMatches |
Unary predicate function object that can search for a matching user ID. More... | |
Public Member Functions | |
UserID (lldb::user_id_t uid=LLDB_INVALID_UID) | |
Construct with optional user ID. | |
~UserID ()=default | |
Destructor. | |
void | Clear () |
Clears the object state. | |
lldb::user_id_t | GetID () const |
Get accessor for the user ID. | |
void | SetID (lldb::user_id_t uid) |
Set accessor for the user ID. | |
Protected Attributes | |
lldb::user_id_t | m_uid |
The user ID that uniquely identifies an object. | |
A mix in class that contains a generic user ID.
UserID is designed as a mix in class that can contain an integer based unique identifier for a variety of objects in lldb.
The value for this identifier is chosen by each parser plug-in. A value should be chosen that makes sense for each kind of object and should allow quick access to further and more in depth parsing.
Symbol table entries can use this to store the original symbol table index, functions can use it to store the symbol table index or the DWARF offset.
|
inline |
|
default |
Destructor.
|
inline |
Clears the object state.
Clears the object contents back to a default invalid state.
Definition at line 41 of file UserID.h.
References LLDB_INVALID_UID, and m_uid.
|
inline |
Get accessor for the user ID.
Definition at line 47 of file UserID.h.
References m_uid.
Referenced by lldb_private::ClangExpressionDeclMap::AddOneFunction(), lldb_private::Block::AddRange(), lldb_private::ThreadPlanStackMap::AddThread(), lldb_private::AppleThreadPlanStepThroughDirectDispatch::AppleThreadPlanStepThroughDirectDispatch(), lldb_private::process_gdb_remote::ProcessGDBRemote::CalculateThreadStopInfo(), lldb_private::TargetProperties::CheckJITObjectsDir(), PDBASTParser::CreateLLDBTypeFromPDBType(), lldb_private::process_gdb_remote::ThreadGDBRemote::CreateRegisterContextForFrame(), lldb_private::StopInfoMachException::CreateStopReasonWithMachException(), lldb_private::trace_intel_pt::TraceIntelPT::Decode(), lldb_private::trace_intel_pt::TraceIntelPTMultiCpuDecoder::Decode(), lldb_private::ProcessWindows::DisableWatchpoint(), lldb_private::Thread::DiscardThreadPlans(), lldb_private::Thread::DiscardThreadPlansUpToPlan(), CommandObjectThreadStepWithTypeAndScope::DoExecute(), CommandObjectThreadContinue::DoExecute(), CommandObjectThreadUntil::DoExecute(), CommandObjectThreadSelect::DoExecute(), lldb_private::CommandObjectIterateOverThreads::DoExecute(), lldb_private::CommandObjectMultipleThreads::DoExecute(), lldb_private::LLVMUserExpression::DoExecute(), lldb_private::ThreadPlanNull::DoPlanExplainsStop(), lldb_private::Section::Dump(), lldb_private::StackID::Dump(), lldb_private::Variable::Dump(), lldb_private::Block::Dump(), lldb_private::SymbolContext::Dump(), lldb_private::Block::DumpSymbolContext(), lldb_private::CompileUnit::DumpSymbolContext(), lldb_private::Function::DumpSymbolContext(), lldb_private::trace_intel_pt::TraceIntelPT::DumpTraceInfo(), lldb_private::trace_intel_pt::TraceIntelPT::DumpTraceInfoAsJson(), lldb_private::ProcessWindows::EnableWatchpoint(), lldb_private::Block::FindBlockByID(), lldb_private::FormatEntity::Format(), lldb_private::Function::GetCallEdges(), lldb_private::Function::GetCompilerContext(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::GetCompileUnit(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::GetCompUnitInfo(), lldb_private::AppleGetQueuesHandler::GetCurrentQueues(), lldb_private::Variable::GetDecl(), lldb_private::Block::GetDeclContext(), lldb_private::Function::GetDeclContext(), lldb_private::Variable::GetDeclContext(), lldb::SBBlock::GetDescription(), lldb::SBFunction::GetDescription(), lldb_private::SymbolContext::GetDescription(), lldb_private::plugin::dwarf::SymbolFileDWARF::GetDWARFCompileUnit(), lldb_private::plugin::dwarf::SymbolFileDWARF::GetDwoSymbolFileForCompileUnit(), lldb_private::ValueObject::GetID(), lldb_private::AppleGetItemInfoHandler::GetItemInfo(), lldb_private::breakpad::SymbolFileBreakpad::GetOrCreateFunction(), lldb_private::SymbolContext::GetParentOfInlinedScope(), lldb_private::AppleGetPendingItemsHandler::GetPendingItems(), lldb_private::Thread::GetPlans(), lldb_private::Thread::GetProtocolID(), lldb_private::trace_intel_pt::TraceIntelPT::GetRawTraceSize(), lldb_private::StackFrameList::GetStatus(), lldb_private::Thread::GetStatus(), GetStopInfoForHardwareBP(), lldb_private::RegisterContext::GetThreadID(), lldb_private::AppleGetThreadItemInfoHandler::GetThreadItemInfo(), lldb_private::process_gdb_remote::ProcessGDBRemote::GetThreadStopInfoFromJSON(), lldb_private::SymbolFileType::GetType(), SymbolFilePDB::GetTypes(), lldb_private::npdb::GetVariableLocationInfo(), lldb_private::Debugger::HandleDestroyCallback(), lldb_private::Debugger::HandleProgressEvent(), IOHandlerLuaInterpreter::IOHandlerLuaInterpreter(), DynamicLoaderMacOS::NotifyBreakpointHit(), DynamicLoaderMacOSXDYLD::NotifyBreakpointHit(), lldb_private::operator!=(), lldb_private::UserID::IDMatches::operator()(), lldb_private::operator<<(), lldb_private::operator==(), OutputWriterCLI::OutputWriterCLI(), lldb_private::plugin::dwarf::SymbolFileDWARF::ParseBlocksRecursive(), lldb_private::breakpad::SymbolFileBreakpad::ParseBlocksRecursive(), lldb_private::npdb::SymbolFileNativePDB::ParseBlocksRecursive(), SymbolFilePDB::ParseBlocksRecursive(), lldb_private::SymbolFileOnDemand::ParseCallEdgesInFunction(), lldb_private::plugin::dwarf::SymbolFileDWARF::ParseCallEdgesInFunction(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::ParseCallEdgesInFunction(), lldb_private::plugin::dwarf::SymbolFileDWARF::ParseCompileUnit(), SymbolFilePDB::ParseCompileUnitLineTable(), DWARFASTParserClang::ParseCXXMethod(), lldb_private::npdb::SymbolFileNativePDB::ParseFunctions(), SymbolFilePDB::ParseFunctions(), lldb_private::npdb::SymbolFileNativePDB::ParseLanguage(), SymbolFilePDB::ParseLanguage(), lldb_private::breakpad::SymbolFileBreakpad::ParseLineTable(), lldb_private::npdb::SymbolFileNativePDB::ParseLineTable(), lldb_private::breakpad::SymbolFileBreakpad::ParseSupportFiles(), SymbolFilePDB::ParseSupportFiles(), lldb_private::npdb::SymbolFileNativePDB::ParseSupportFiles(), ObjectFileELF::ParseSymbolTable(), ObjectFileELF::ParseSymtab(), SymbolFilePDB::ParseTypes(), lldb_private::npdb::SymbolFileNativePDB::ParseVariablesForCompileUnit(), SymbolFilePDB::ParseVariablesForContext(), lldb_private::plugin::dwarf::SymbolFileDWARF::ParseVariablesForContext(), lldb_private::npdb::SymbolFileNativePDB::ParseVariablesForContext(), lldb_private::plugin::dwarf::SymbolFileDWARF::ParseVariablesInFunctionContextRecursive(), lldb_private::StopInfoBreakpoint::PerformAction(), lldb_private::StopInfoWatchpoint::PerformAction(), ABIMacOSX_arm64::PrepareTrivialCall(), ABISysV_arm64::PrepareTrivialCall(), ABISysV_mips::PrepareTrivialCall(), ABISysV_mips64::PrepareTrivialCall(), ABISysV_ppc::PrepareTrivialCall(), ABISysV_ppc64::PrepareTrivialCall(), ABISysV_s390x::PrepareTrivialCall(), ABISysV_x86_64::PrepareTrivialCall(), ABIWindows_x86_64::PrepareTrivialCall(), lldb_private::Progress::Progress(), lldb_private::Type::ResolveCompilerType(), lldb::SBThread::ResumeNewPlan(), lldb_private::Thread::ReturnFromFrameWithIndex(), lldb_private::Process::RunThreadPlan(), lldb_private::StackFrameList::SetDefaultFileAndLineToSelectedFrame(), lldb_private::Thread::SetStopInfo(), lldb_private::Thread::ShouldReportRun(), lldb_private::Thread::ShouldReportStop(), lldb_private::Thread::ShouldStop(), lldb_private::Thread::StepIn(), lldb_private::Thread::StepOut(), lldb::SBThread::StepOutOfFrame(), lldb_private::Thread::StepOver(), lldb_private::Thread::Thread(), lldb_private::process_gdb_remote::ThreadGDBRemote::ThreadGDBRemote(), ThreadKDP::ThreadKDP(), lldb_private::ThreadSpec::TIDMatches(), lldb_private::AppleObjCRuntimeV2::WarnIfNoClassesCached(), lldb_private::AppleObjCRuntimeV2::WarnIfNoExpandedSharedCache(), lldb_private::process_gdb_remote::GDBRemoteRegisterContext::WriteAllRegisterValues(), lldb_private::HistoryThread::~HistoryThread(), lldb_private::Thread::~Thread(), lldb_private::process_gdb_remote::ThreadGDBRemote::~ThreadGDBRemote(), and ThreadKDP::~ThreadKDP().
|
inline |
Set accessor for the user ID.
[in] | uid | The new user ID. |
Definition at line 53 of file UserID.h.
References m_uid.
Referenced by lldb_private::process_gdb_remote::GDBRemoteRegisterContext::ReadAllRegisterValues(), and lldb_private::ThreadPlan::ThreadPlan().
|
protected |