LLDB  mainline
Classes | Public Member Functions | Protected Attributes | List of all members
lldb_private::UserID Class Reference

A mix in class that contains a generic user ID. More...

#include "lldb/Core/UserID.h"

Inheritance diagram for lldb_private::UserID:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::UserID:
Collaboration graph
[legend]

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. More...
 
 ~UserID ()
 Destructor. More...
 
void Clear ()
 Clears the object state. More...
 
lldb::user_id_t GetID () const
 Get accessor for the user ID. More...
 
void SetID (lldb::user_id_t uid)
 Set accessor for the user ID. More...
 

Protected Attributes

lldb::user_id_t m_uid
 The user ID that uniquely identifies an object. More...
 

Detailed Description

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.

Definition at line 33 of file UserID.h.

Constructor & Destructor Documentation

◆ UserID()

lldb_private::UserID::UserID ( lldb::user_id_t  uid = LLDB_INVALID_UID)
inline

Construct with optional user ID.

Definition at line 35 of file UserID.h.

Referenced by SymbolFileDWARF::getExternalTypeModules().

◆ ~UserID()

lldb_private::UserID::~UserID ( )
inline

Destructor.

Definition at line 38 of file UserID.h.

Member Function Documentation

◆ Clear()

void lldb_private::UserID::Clear ( )
inline

Clears the object state.

Clears the object contents back to a default invalid state.

Definition at line 43 of file UserID.h.

References LLDB_INVALID_UID, and m_uid.

Referenced by lldb_private::ValueObject::ChildrenManager::SetChildrenCount().

◆ GetID()

lldb::user_id_t lldb_private::UserID::GetID ( ) const
inline

Get accessor for the user ID.

Returns
The user ID.

Definition at line 49 of file UserID.h.

References m_uid.

Referenced by SymbolFileDWARFDebugMap::AddOSOARanges(), lldb_private::Block::AddRange(), ProcessKDP::AsyncThread(), lldb_private::process_gdb_remote::ProcessGDBRemote::AsyncThread(), lldb_private::Process::Attach(), lldb_private::Section::Compare(), lldb_private::Type::Compare(), lldb_private::Process::CompleteAttach(), lldb_private::Process::ConnectRemote(), DWARFASTParserClang::CopyUniqueClassMethodTypes(), PDBASTParser::CreateLLDBTypeFromPDBType(), ThreadMachCore::CreateRegisterContextForFrame(), lldb_private::process_gdb_remote::ThreadGDBRemote::CreateRegisterContextForFrame(), OperatingSystemPython::CreateRegisterContextForThread(), lldb_private::StopInfoMachException::CreateStopReasonWithMachException(), DynamicLoaderPOSIXDYLD::DidAttach(), ProcessKDP::DidAttach(), lldb_private::process_gdb_remote::ProcessGDBRemote::DidLaunchOrAttach(), lldb_private::Thread::DiscardThreadPlans(), lldb_private::Thread::DiscardThreadPlansUpToPlan(), ProcessFreeBSD::DoAttachToProcessWithID(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoConnectRemote(), ProcessFreeBSD::DoDestroy(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoDestroy(), ProcessFreeBSD::DoDidExec(), CommandObjectIterateOverThreads::DoExecute(), CommandObjectThreadStepWithTypeAndScope::DoExecute(), CommandObjectProcessContinue::DoExecute(), CommandObjectThreadContinue::DoExecute(), CommandObjectProcessConnect::DoExecute(), CommandObjectThreadUntil::DoExecute(), ProcessFreeBSD::DoHalt(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoLaunch(), lldb_private::ThreadPlanNull::DoPlanExplainsStop(), ProcessFreeBSD::DoSignal(), lldb_private::ThreadPlanCallFunction::DoTakedown(), lldb_private::Variable::Dump(), lldb_private::StackID::Dump(), lldb_private::Block::Dump(), lldb_private::Address::Dump(), lldb_private::CompileUnit::DumpSymbolContext(), lldb_private::Block::DumpSymbolContext(), lldb_private::Function::DumpSymbolContext(), lldb_private::Thread::DumpThreadPlans(), lldb_private::Type::DumpValue(), lldb_private::ScriptInterpreterPythonImpl::EnterSession(), DynamicLoaderPOSIXDYLD::EntryBreakpointHit(), lldb_private::Block::FindBlockByID(), lldb_private::TargetList::FindTargetWithProcessID(), lldb_private::ValueObjectList::FindValueObjectByUID(), lldb_private::FormatEntity::Format(), ProcessFreeBSD::GetAuxvData(), ObjectFileELF::GetBaseAddress(), lldb_private::Function::GetCallEdges(), lldb_private::AppleGetQueuesHandler::GetCurrentQueues(), ProcessMonitor::GetCurrentThreadIDs(), lldb_private::Variable::GetDecl(), lldb_private::Variable::GetDeclContext(), lldb_private::Block::GetDeclContext(), lldb_private::Function::GetDeclContext(), lldb::SBFunction::GetDescription(), lldb::SBBlock::GetDescription(), lldb_private::SymbolContext::GetDescription(), lldb_private::Target::StopHook::GetDescription(), SymbolFileDWARF::GetDWARFCompileUnit(), OperatingSystemPython::GetDynamicRegisterInfo(), lldb::SBThread::GetInfoItemByPathAsString(), lldb_private::AppleGetItemInfoHandler::GetItemInfo(), FreeBSDThread::GetName(), PlatformDarwin::GetOSVersion(), lldb_private::SymbolContext::GetParentOfInlinedScope(), SymbolFilePDB::GetPDBSession(), lldb_private::AppleGetPendingItemsHandler::GetPendingItems(), lldb_private::ThreadPlanNull::GetPlanRunState(), lldb_private::minidump::ProcessMinidump::GetProcessInfo(), ProcessElfCore::GetProcessInfo(), lldb_private::Process::GetProcessInfo(), lldb_private::Thread::GetStatus(), lldb_private::Process::GetStatus(), ObjectFileELF::GetSymtab(), lldb_private::RegisterContext::GetThreadID(), lldb_private::AppleGetThreadItemInfoHandler::GetThreadItemInfo(), FreeBSDThread::GetThreadPointer(), lldb_private::process_gdb_remote::ProcessGDBRemote::GetThreadStopInfoFromJSON(), lldb_private::SymbolFileType::GetType(), SymbolFilePDB::GetTypes(), DIERef::GetUID(), lldb_private::npdb::GetVariableLocationInfo(), lldb_private::Process::HaltPrivate(), lldb_private::Process::HandlePrivateEvent(), lldb_private::process_gdb_remote::ProcessGDBRemote::HarmonizeThreadIdsForProfileData(), lldb_private::ThreadPlanNull::MischiefManaged(), FreeBSDThread::Notify(), lldb_private::ProcessWindows::OnExitProcess(), lldb_private::operator!=(), lldb_private::UserID::IDMatches::operator()(), lldb_private::operator<<(), lldb_private::operator==(), SymbolFilePDB::ParseBlocksRecursive(), lldb_private::npdb::SymbolFileNativePDB::ParseBlocksRecursive(), SymbolFileDWARF::ParseBlocksRecursive(), SymbolFileDWARFDebugMap::ParseCallEdgesInFunction(), SymbolFileDWARF::ParseCallEdgesInFunction(), SymbolFileDWARF::ParseCompileUnit(), SymbolFilePDB::ParseDeclsForContext(), SymbolFilePDB::ParseFunctions(), lldb_private::npdb::SymbolFileNativePDB::ParseFunctions(), SymbolFilePDB::ParseLanguage(), lldb_private::npdb::SymbolFileNativePDB::ParseLanguage(), lldb_private::breakpad::SymbolFileBreakpad::ParseLineTable(), lldb_private::npdb::SymbolFileNativePDB::ParseLineTable(), lldb_private::breakpad::SymbolFileBreakpad::ParseSupportFiles(), SymbolFilePDB::ParseSupportFiles(), lldb_private::npdb::SymbolFileNativePDB::ParseSupportFiles(), DWARFASTParserClang::ParseTypeFromDWARF(), SymbolFilePDB::ParseTypes(), lldb_private::npdb::SymbolFileNativePDB::ParseTypes(), SymbolFileDWARF::ParseVariables(), SymbolFilePDB::ParseVariablesForContext(), lldb_private::npdb::SymbolFileNativePDB::ParseVariablesForContext(), SymbolFileDWARF::ParseVariablesForContext(), lldb_private::Process::AttachCompletionHandler::PerformAction(), ABISysV_x86_64::PrepareTrivialCall(), ABISysV_mips64::PrepareTrivialCall(), ABISysV_ppc::PrepareTrivialCall(), ABISysV_arm64::PrepareTrivialCall(), ABISysV_ppc64::PrepareTrivialCall(), ABISysV_mips::PrepareTrivialCall(), ABISysV_s390x::PrepareTrivialCall(), ABIMacOSX_arm64::PrepareTrivialCall(), DynamicLoaderPOSIXDYLD::ProbeEntry(), RegisterContextPOSIXProcessMonitor_arm::ReadFPR(), RegisterContextPOSIXProcessMonitor_arm64::ReadFPR(), RegisterContextPOSIXProcessMonitor_x86_64::ReadFPR(), RegisterContextPOSIXProcessMonitor_powerpc::ReadFPR(), RegisterContextPOSIXProcessMonitor_arm::ReadGPR(), RegisterContextPOSIXProcessMonitor_arm64::ReadGPR(), RegisterContextPOSIXProcessMonitor_mips64::ReadGPR(), RegisterContextPOSIXProcessMonitor_x86_64::ReadGPR(), RegisterContextPOSIXProcessMonitor_powerpc::ReadGPR(), RegisterContextPOSIXProcessMonitor_arm::ReadRegister(), RegisterContextPOSIXProcessMonitor_arm64::ReadRegister(), RegisterContextPOSIXProcessMonitor_x86_64::ReadRegister(), RegisterContextPOSIXProcessMonitor_mips64::ReadRegister(), RegisterContextPOSIXProcessMonitor_powerpc::ReadRegister(), DynamicLoaderPOSIXDYLD::RendezvousBreakpointHit(), lldb_private::Type::ResolveClangType(), DynamicLoaderPOSIXDYLD::ResolveExecutableModule(), lldb_private::ClangExpressionDeclMap::ResolveUnknownTypes(), FreeBSDThread::Resume(), lldb_private::Thread::ReturnFromFrameWithIndex(), lldb_private::Process::RunThreadPlan(), lldb_private::ScriptInterpreterPythonImpl::ScriptInterpreterPythonImpl(), lldb_private::StackFrameList::SetDefaultFileAndLineToSelectedFrame(), lldb_private::ThreadPlanRunToAddress::SetInitialBreakpoints(), lldb_private::ThreadPlanStepRange::SetNextBranchBreakpoint(), DynamicLoaderPOSIXDYLD::SetRendezvousBreakpoint(), lldb_private::Thread::SetStopInfo(), lldb_private::process_gdb_remote::ProcessGDBRemote::SetThreadStopInfo(), lldb_private::Thread::ShouldReportRun(), lldb_private::Thread::ShouldReportStop(), lldb_private::ThreadPlanBase::ShouldStop(), lldb_private::Thread::ShouldStop(), lldb_private::ThreadPlanNull::ShouldStop(), lldb_private::Process::StartPrivateStateThread(), 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::ThreadPlanStepOut::ThreadPlanStepOut(), lldb_private::ThreadPlanStepThrough::ThreadPlanStepThrough(), lldb_private::ThreadPlanStepUntil::ThreadPlanStepUntil(), lldb_private::ThreadSpec::TIDMatches(), FrameTreeDelegate::TreeDelegateItemSelected(), OperatingSystemPython::UpdateThreadList(), ProcessKDP::UpdateThreadList(), lldb_private::process_gdb_remote::ProcessGDBRemote::UpdateThreadList(), lldb_private::ThreadPlanNull::ValidatePlan(), FreeBSDThread::WillResume(), lldb_private::ThreadPlan::WillResume(), lldb_private::ThreadPlanNull::WillStop(), StatusBarWindowDelegate::WindowDelegateDraw(), SourceFileWindowDelegate::WindowDelegateDraw(), lldb_private::process_gdb_remote::GDBRemoteRegisterContext::WriteAllRegisterValues(), RegisterContextPOSIXProcessMonitor_arm::WriteFPR(), RegisterContextPOSIXProcessMonitor_arm64::WriteFPR(), RegisterContextPOSIXProcessMonitor_x86_64::WriteFPR(), RegisterContextPOSIXProcessMonitor_powerpc::WriteFPR(), RegisterContextPOSIXProcessMonitor_arm::WriteGPR(), RegisterContextPOSIXProcessMonitor_arm64::WriteGPR(), RegisterContextPOSIXProcessMonitor_mips64::WriteGPR(), RegisterContextPOSIXProcessMonitor_x86_64::WriteGPR(), RegisterContextPOSIXProcessMonitor_powerpc::WriteGPR(), RegisterContextPOSIXProcessMonitor_arm::WriteRegister(), RegisterContextPOSIXProcessMonitor_arm64::WriteRegister(), RegisterContextPOSIXProcessMonitor_mips64::WriteRegister(), RegisterContextPOSIXProcessMonitor_x86_64::WriteRegister(), RegisterContextPOSIXProcessMonitor_powerpc::WriteRegister(), lldb_private::HistoryThread::~HistoryThread(), lldb_private::Thread::~Thread(), lldb_private::process_gdb_remote::ThreadGDBRemote::~ThreadGDBRemote(), and ThreadKDP::~ThreadKDP().

◆ SetID()

void lldb_private::UserID::SetID ( lldb::user_id_t  uid)
inline

Member Data Documentation

◆ m_uid

lldb::user_id_t lldb_private::UserID::m_uid
protected

The user ID that uniquely identifies an object.

Definition at line 79 of file UserID.h.

Referenced by Clear(), GetID(), and SetID().


The documentation for this class was generated from the following file: