LLDB mainline
|
Abstraction to read the Objective-C class info from the shared cache. More...
Public Member Functions | |
SharedCacheClassInfoExtractor (AppleObjCRuntimeV2 &runtime) | |
DescriptorMapUpdateResult | UpdateISAToDescriptorMap () |
Public Member Functions inherited from lldb_private::AppleObjCRuntimeV2::ClassInfoExtractor | |
ClassInfoExtractor (AppleObjCRuntimeV2 &runtime) | |
std::mutex & | GetMutex () |
Private Member Functions | |
UtilityFunction * | GetClassInfoUtilityFunction (ExecutionContext &exe_ctx) |
std::unique_ptr< UtilityFunction > | GetClassInfoUtilityFunctionImpl (ExecutionContext &exe_ctx) |
Private Attributes | |
std::unique_ptr< UtilityFunction > | m_utility_function |
lldb::addr_t | m_args = LLDB_INVALID_ADDRESS |
Additional Inherited Members | |
Protected Attributes inherited from lldb_private::AppleObjCRuntimeV2::ClassInfoExtractor | |
AppleObjCRuntimeV2 & | m_runtime |
The lifetime of this object is tied to that of the runtime. | |
std::mutex | m_mutex |
Abstraction to read the Objective-C class info from the shared cache.
Definition at line 370 of file AppleObjCRuntimeV2.h.
|
inline |
Definition at line 372 of file AppleObjCRuntimeV2.h.
|
private |
Definition at line 1981 of file AppleObjCRuntimeV2.cpp.
|
private |
Definition at line 1892 of file AppleObjCRuntimeV2.cpp.
References lldb_private::ConstString::AsCString(), lldb_private::Target::CreateUtilityFunction(), lldb::eBasicTypeVoid, lldb::eEncodingUint, lldb::eLanguageTypeC, error(), g_get_shared_cache_class_info_body, g_get_shared_cache_class_info_name, g_shared_cache_class_name_funcptr, lldb_private::ScratchTypeSystemClang::GetForTarget(), lldb_private::GetLog(), lldb_private::CompilerType::GetPointerType(), lldb_private::ExecutionContext::GetTargetRef(), lldb_private::ExecutionContext::GetThreadSP(), LLDB_LOG, LLDB_LOG_ERROR, lldb_private::Process, lldb_private::ValueList::PushValue(), lldb_private::Value::Scalar, lldb_private::Value::SetCompilerType(), lldb_private::Value::SetValueType(), and lldb_private::Types.
AppleObjCRuntimeV2::DescriptorMapUpdateResult AppleObjCRuntimeV2::SharedCacheClassInfoExtractor::UpdateISAToDescriptorMap | ( | ) |
Definition at line 2257 of file AppleObjCRuntimeV2.cpp.
References lldb_private::Process::AllocateMemory(), lldb_private::DiagnosticManager::Clear(), lldb_private::Process::DeallocateMemory(), lldb_private::DiagnosticManager::Dump(), lldb::eEncodingUint, lldb::eExpressionCompleted, lldb_private::FunctionCaller::ExecuteFunction(), lldb_private::AppleObjCRuntimeV2::DescriptorMapUpdateResult::Fail(), lldb_private::Process::GetAddressByteSize(), lldb_private::FunctionCaller::GetArgumentValues(), lldb_private::Process::GetByteOrder(), lldb_private::WritableDataBuffer::GetBytes(), lldb_private::DataBufferHeap::GetByteSize(), lldb_private::ThreadList::GetExpressionExecutionThread(), lldb_private::ScratchTypeSystemClang::GetForTarget(), lldb_private::UtilityFunction::GetFunctionCaller(), lldb_private::GetLog(), lldb_private::Value::GetScalar(), lldb_private::Process::GetTarget(), lldb_private::Process::GetThreadList(), lldb_private::DataExtractor::GetU64(), lldb_private::ProcessProperties::GetUtilityExpressionTimeout(), lldb_private::ValueList::GetValueAtIndex(), lldb_private::Log::GetVerbose(), LLDB_INVALID_ADDRESS, LLDB_LOG, LLDB_LOGF, lldb_private::Process, lldb_private::Process::ReadMemory(), lldb_private::AppleObjCRuntimeV2::DescriptorMapUpdateResult::Retry(), lldb_private::Value::Scalar, lldb_private::Value::SetCompilerType(), lldb_private::EvaluateExpressionOptions::SetIgnoreBreakpoints(), lldb_private::EvaluateExpressionOptions::SetIsForUtilityExpr(), lldb_private::EvaluateExpressionOptions::SetStopOthers(), lldb_private::EvaluateExpressionOptions::SetTimeout(), lldb_private::EvaluateExpressionOptions::SetTryAllThreads(), lldb_private::EvaluateExpressionOptions::SetUnwindOnError(), lldb_private::Value::SetValueType(), lldb_private::Types, lldb_private::Scalar::ULong(), and lldb_private::FunctionCaller::WriteFunctionArguments().
Referenced by lldb_private::AppleObjCRuntimeV2::UpdateISAToDescriptorMapIfNeeded().
|
private |
Definition at line 384 of file AppleObjCRuntimeV2.h.
|
private |
Definition at line 383 of file AppleObjCRuntimeV2.h.