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

An error handling class. More...

#include "lldb/Utility/Status.h"

Collaboration diagram for lldb_private::Status:
Collaboration graph
[legend]

Public Types

typedef uint32_t ValueType
 Every error value that this object can contain needs to be able to fit into ValueType. More...
 

Public Member Functions

 Status ()
 Default constructor. More...
 
 Status (ValueType err, lldb::ErrorType type=lldb::eErrorTypeGeneric)
 
 Status (std::error_code EC)
 
 Status (const char *format,...) __attribute__((format(printf
 
 Status (const Status &rhs)
 
const Statusoperator= (const Status &rhs)
 Assignment operator. More...
 
 ~Status ()
 
 Status (llvm::Error error)
 
const Statusoperator= (llvm::Error error)
 
llvm::Error ToError () const
 
const char * AsCString (const char *default_error_str="unknown error") const
 Get the error string associated with the current error. More...
 
void Clear ()
 Clear the object state. More...
 
bool Fail () const
 Test for error condition. More...
 
ValueType GetError () const
 Access the error value. More...
 
lldb::ErrorType GetType () const
 Access the error type. More...
 
void SetMachError (uint32_t err)
 Set accessor from a kern_return_t. More...
 
void SetExpressionError (lldb::ExpressionResults, const char *mssg)
 
int SetExpressionErrorWithFormat (lldb::ExpressionResults, const char *format,...) __attribute__((format(printf
 
int void SetError (ValueType err, lldb::ErrorType type)
 Set accesssor with an error value and type. More...
 
void SetErrorToErrno ()
 Set the current error to errno. More...
 
void SetErrorToGenericError ()
 Set the current error to a generic error. More...
 
void SetErrorString (llvm::StringRef err_str)
 Set the current error string to err_str. More...
 
int SetErrorStringWithFormat (const char *format,...) __attribute__((format(printf
 Set the current error string to a formatted error string. More...
 
int int SetErrorStringWithVarArg (const char *format, va_list args)
 
template<typename... Args>
void SetErrorStringWithFormatv (const char *format, Args &&... args)
 
bool Success () const
 Test for success condition. More...
 
bool WasInterrupted () const
 Test for a failure due to a generic interrupt. More...
 

Protected Attributes

ValueType m_code
 Member variables. More...
 
lldb::ErrorType m_type
 The type of the above error code. More...
 
std::string m_string
 A string representation of the error code. More...
 

Detailed Description

An error handling class.

This class is designed to be able to hold any error code that can be encountered on a given platform. The errors are stored as a value of type Status::ValueType. This value should be large enough to hold any and all errors that the class supports. Each error has an associated type that is of type lldb::ErrorType. New types can be added to support new error types, and architecture specific types can be enabled. In the future we may wish to switch to a registration mechanism where new error types can be registered at runtime instead of a hard coded scheme.

All errors in this class also know how to generate a string representation of themselves for printing results and error codes. The string value will be fetched on demand and its string value will be cached until the error is cleared of the value of the error changes.

Definition at line 44 of file Status.h.

Member Typedef Documentation

◆ ValueType

Every error value that this object can contain needs to be able to fit into ValueType.

Definition at line 48 of file Status.h.

Constructor & Destructor Documentation

◆ Status() [1/6]

Status::Status ( )

Default constructor.

Initialize the error object with a generic success value.

Parameters
[in]errAn error code.
[in]typeThe type for err.

Definition at line 41 of file Status.cpp.

Referenced by Status().

◆ Status() [2/6]

Status::Status ( ValueType  err,
lldb::ErrorType  type = lldb::eErrorTypeGeneric 
)
explicit

Definition at line 43 of file Status.cpp.

◆ Status() [3/6]

Status::Status ( std::error_code  EC)

Definition at line 46 of file Status.cpp.

References Status().

◆ Status() [4/6]

Status::Status ( const char *  format,
  ... 
)
explicit

Definition at line 52 of file Status.cpp.

References SetErrorStringWithVarArg(), and SetErrorToGenericError().

◆ Status() [5/6]

Status::Status ( const Status rhs)
default

◆ ~Status()

Status::~Status ( )
default

Referenced by operator=().

◆ Status() [6/6]

lldb_private::Status::Status ( llvm::Error  error)
inlineexplicit

Definition at line 82 of file Status.h.

Member Function Documentation

◆ AsCString()

const char * Status::AsCString ( const char *  default_error_str = "unknown error") const

Get the error string associated with the current error.

Gets the error value as a NULL terminated C string. The error string will be fetched and cached on demand. The error string will be retrieved from a callback that is appropriate for the type of the error and will be cached until the error value is changed or cleared.

Returns
The error as a NULL terminated C string value if the error is valid and is able to be converted to a string value, NULL otherwise.

Definition at line 130 of file Status.cpp.

References lldb::eErrorTypeMachKernel, lldb::eErrorTypePOSIX, lldb::eErrorTypeWin32, m_code, m_string, m_type, and Success().

Referenced by CommandObjectTargetSymbolsAdd::AddModuleSymbols(), lldb_private::process_gdb_remote::ProcessGDBRemote::AsyncThread(), lldb_private::Process::Attach(), lldb_private::Process::CanJIT(), CommandObjectTypeFormatList::CommandObjectTypeFormatList(), CommandObjectTypeSynthClear::CommandObjectTypeSynthClear(), lldb_private::ClangUserExpression::Complete(), lldb_private::BreakpointLocation::ConditionSaysStop(), lldb_private::process_gdb_remote::GDBRemoteCommunication::ConnectLocally(), lldb_private::Target::CreateBreakpointsFromFile(), lldb_private::Process::CreateBreakpointSite(), lldb_private::RenderScriptRuntime::CreateExceptionResolver(), lldb_private::BreakpointOptions::CreateFromStructuredData(), lldb_private::Breakpoint::CreateFromStructuredData(), lldb_private::RenderScriptRuntime::CreateKernelBreakpoint(), lldb_private::RenderScriptRuntime::CreateReductionBreakpoint(), lldb_private::RenderScriptRuntime::CreateScriptGroupBreakpoint(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::CreateSymlink(), lldb_private::Process::DeallocateMemory(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::DebugProcess(), lldb_private::Platform::DebugProcess(), EntityPersistentVariable::Dematerialize(), EntityVariable::Dematerialize(), EntityResultVariable::Dematerialize(), EntityRegister::Dematerialize(), EntityPersistentVariable::DestroyAllocation(), lldb_private::AppleGetQueuesHandler::Detach(), lldb_private::AppleGetThreadItemInfoHandler::Detach(), lldb_private::AppleGetItemInfoHandler::Detach(), lldb_private::AppleGetPendingItemsHandler::Detach(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::DidExec(), lldb_private::Process::DisableSoftwareBreakpoint(), lldb_private::ConnectionFileDescriptor::Disconnect(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoAttachToProcessWithID(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoAttachToProcessWithName(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoDetach(), CommandObjectBugreportUnwind::DoExecute(), CommandObjectPluginLoad::DoExecute(), lldb_private::LLVMUserExpression::DoExecute(), CommandObjectProcessLaunch::DoExecute(), CommandObjectSettingsSet::DoExecute(), CommandObjectPlatformSelect::DoExecute(), CommandObjectTargetCreate::DoExecute(), CommandObjectSettingsShow::DoExecute(), CommandObjectPlatformDisconnect::DoExecute(), CommandObjectMemoryRead::DoExecute(), CommandObjectSettingsWrite::DoExecute(), CommandObjectProcessAttach::DoExecute(), CommandObjectPlatformMkDir::DoExecute(), CommandObjectFrameVariable::DoExecute(), CommandObjectPlatformFOpen::DoExecute(), CommandObjectThreadStepWithTypeAndScope::DoExecute(), CommandObjectProcessContinue::DoExecute(), CommandObjectSettingsRemove::DoExecute(), CommandObjectBreakpointSet::DoExecute(), CommandObjectSettingsReplace::DoExecute(), sddarwinlog_private::EnableCommand::DoExecute(), CommandObjectWatchpointSetVariable::DoExecute(), CommandObjectPlatformGetFile::DoExecute(), CommandObjectThreadContinue::DoExecute(), CommandObjectSettingsInsertBefore::DoExecute(), CommandObjectProcessConnect::DoExecute(), CommandObjectProcessKDPPacketSend::DoExecute(), CommandObjectSettingsInsertAfter::DoExecute(), CommandObjectPlatformProcessLaunch::DoExecute(), CommandObjectProcessLoad::DoExecute(), CommandObjectCommandsAddRegex::DoExecute(), CommandObjectSettingsAppend::DoExecute(), CommandObjectThreadUntil::DoExecute(), CommandObjectSettingsClear::DoExecute(), CommandObjectMemoryWrite::DoExecute(), CommandObjectScriptingObject::DoExecute(), CommandObjectCommandsScriptImport::DoExecute(), CommandObjectPlatformProcessAttach::DoExecute(), CommandObjectMemoryHistory::DoExecute(), CommandObjectThreadReturn::DoExecute(), CommandObjectPlatformShell::DoExecute(), CommandObjectMemoryRegion::DoExecute(), CommandObjectPlatformInstall::DoExecute(), CommandObjectBreakpointNameConfigure::DoExecute(), CommandObjectBreakpointRead::DoExecute(), CommandObjectBreakpointWrite::DoExecute(), CommandObjectTargetModulesAdd::DoExecute(), CommandObjectTypeFilterAdd::DoExecute(), CommandObjectTargetModulesLoad::DoExecute(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoLaunch(), PlatformPOSIX::DoLoadImage(), lldb_private::Platform::DownloadModuleSlice(), lldb_private::platform_android::PlatformAndroid::DownloadSymbolFile(), lldb_private::ValueObject::DumpPrintableRepresentation(), DumpValue(), lldb_private::Process::EnableSoftwareBreakpoint(), lldb_private::RenderScriptRuntime::EvalRSExpression(), lldb_private::UserExpression::Evaluate(), lldb_private::DWARFExpression::Evaluate(), lldb_private::CommandObjectExpression::EvaluateExpression(), lldb_private::LLVMUserExpression::FinalizeJITExecution(), lldb_private::BreakpointIDList::FindAndReplaceIDRanges(), lldb_private::ClangExpressionDeclMap::FindExternalVisibleDecls(), llvm::format_provider< lldb_private::Status >::format(), lldb_private::IRExecutionUnit::FreeNow(), ObjectFileELF::GetBaseAddress(), lldb_private::AppleGetQueuesHandler::GetCurrentQueues(), lldb_private::ThreadPlanStepInstruction::GetDescription(), lldb_private::ThreadPlanStepOverRange::GetDescription(), lldb_private::ThreadPlanStepInRange::GetDescription(), lldb_private::StringSummaryFormat::GetDescription(), lldb::SBValue::GetError(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::GetFilePermissions(), lldb_private::Target::GetFunctionCallerForLanguage(), lldb_private::MemoryHistoryASan::GetHistoryThreads(), lldb_private::AppleGetItemInfoHandler::GetItemInfo(), lldb_private::AppleObjCRuntime::GetObjectDescription(), lldb_private::AppleGetPendingItemsHandler::GetPendingItems(), GetRegistersAsJSON(), lldb_private::IRExecutionUnit::GetRunnableInfo(), lldb_private::platform_android::PlatformAndroid::GetSdkVersion(), lldb_private::platform_android::AdbClient::GetSyncService(), lldb_private::AppleObjCRuntimeV2::GetTaggedPointerObfuscator(), lldb_private::AppleGetThreadItemInfoHandler::GetThreadItemInfo(), lldb_private::Target::GetUserExpressionForLanguage(), lldb_private::Target::GetUtilityFunctionForLanguage(), lldb::SBValue::GetValueAsSigned(), lldb::SBValue::GetValueAsUnsigned(), lldb_private::Process::HaltPrivate(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_D(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_memory_read(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_p(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerPlatform::Handle_qLaunchGDBServer(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qLaunchSuccess(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qMemoryRegionInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_QPassSignals(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_s(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_vAttach(), lldb_private::CommandInterpreter::HandleCommand(), lldb_private::CommandInterpreter::HandleCommandsFromFile(), HandleFileAction(), lldb_private::Debugger::HandleProcessEvent(), lldb_private::ClangUtilityFunction::Install(), CommandObjectTypeSynthAdd::IOHandlerInputComplete(), CommandObjectCommandsAddRegex::IOHandlerInputComplete(), lldb_private::RegisterContextLLDB::IsTrapHandlerFrame(), lldb_private::Target::Launch(), lldb_private::Process::Launch(), lldb_private::process_gdb_remote::ProcessGDBRemote::LaunchAndConnectToDebugserver(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::LaunchProcess(), lldb_private::Platform::LaunchProcess(), lldb_private::RenderScriptRuntime::LoadAllocation(), lldb_private::RenderScriptRuntime::LoadModule(), LoadScriptingResourceForModule(), lldb_private::ModuleList::LoadScriptingResourcesInTarget(), EntityPersistentVariable::MakeAllocation(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::MakeDirectory(), PlatformPOSIX::MakeLoadImageUtilityFunction(), EntityPersistentVariable::Materialize(), EntityVariable::Materialize(), EntityResultVariable::Materialize(), EntitySymbol::Materialize(), lldb_private::ConnectionFileDescriptor::OpenCommandPipe(), lldb_private::ClangUserExpression::Parse(), lldb_private::CommandObject::ParseOptions(), lldb_private::StopInfoBreakpoint::PerformAction(), lldb_private::StopInfoWatchpoint::PerformAction(), lldb_private::darwin_process_launcher::PosixSpawnChildForPTraceDebugging(), lldb_private::ClangExpressionParser::PrepareForExecution(), lldb_private::LLVMUserExpression::PrepareToExecuteJITExpression(), lldb_private::Process::PrivateResume(), lldb::SBThreadPlan::QueueThreadPlanForRunToAddress(), lldb::SBThreadPlan::QueueThreadPlanForStepInRange(), lldb::SBThreadPlan::QueueThreadPlanForStepOut(), lldb::SBThreadPlan::QueueThreadPlanForStepOverRange(), lldb::SBThreadPlan::QueueThreadPlanForStepScripted(), lldb_private::ConnectionFileDescriptor::Read(), lldb_private::Socket::Read(), lldb_private::NativeRegisterContext::ReadRegisterAsUnsigned(), lldb_private::process_darwin::MachException::Message::Receive(), RecurseCopy_Callback(), lldb_private::RenderScriptRuntime::RefreshAllocation(), lldb_private::process_linux::NativeThreadLinux::RemoveHardwareBreakpoint(), Renumber(), lldb_private::process_darwin::MachException::Message::Reply(), ResolveRendezvousAddress(), lldb_private::process_darwin::MachException::PortInfo::Restore(), RetrieveString(), RunScriptFormatKeyword(), lldb_private::Process::RunThreadPlan(), lldb::SBThread::RunToAddress(), lldb_private::process_darwin::MachException::PortInfo::Save(), lldb_private::RenderScriptRuntime::SaveAllocation(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServer::SendErrorResponse(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendStopReplyPacketForThread(), lldb::SBValue::SetData(), lldb_private::ValueObject::SetData(), lldb_private::CommandReturnObject::SetError(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::SetFilePermissions(), CommandObjectBreakpointRead::CommandOptions::SetOptionValue(), lldb_private::Debugger::SetPropertyValue(), ABISysV_arm::SetReturnValueObject(), ABIMacOSX_arm::SetReturnValueObject(), ABISysV_ppc::SetReturnValueObject(), ABIMacOSX_i386::SetReturnValueObject(), ABISysV_mips64::SetReturnValueObject(), ABISysV_s390x::SetReturnValueObject(), ABISysV_x86_64::SetReturnValueObject(), ABISysV_ppc64::SetReturnValueObject(), ABISysV_arm64::SetReturnValueObject(), ABISysV_mips::SetReturnValueObject(), ABISysV_i386::SetReturnValueObject(), ABIMacOSX_arm64::SetReturnValueObject(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SetSTDIOFileDescriptor(), lldb_private::OptionValueDictionary::SetSubValue(), lldb_private::OptionValueProperties::SetSubValue(), lldb_private::AppleObjCTrampolineHandler::SetupDispatchFunction(), lldb::SBValue::SetValueFromCString(), lldb_private::process_gdb_remote::GDBRemoteCommunication::StartDebugserverProcess(), lldb::SBThread::StepInstruction(), lldb::SBThread::StepInto(), lldb::SBThread::StepOut(), lldb::SBThread::StepOutOfFrame(), lldb::SBThread::StepOverUntil(), lldb::SBThread::StepUsingScriptedThreadPlan(), SupportsCxxModuleImport(), lldb_private::platform_android::AdbClient::SwitchDeviceTransport(), ToError(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::Unlink(), lldb_private::RegisterContext::UpdateDynamicRegisterSize(), SymbolFileDWARF::UpdateExternalModuleListIfNeeded(), lldb_private::process_darwin::NativeThreadListDarwin::UpdateThreadList(), lldb_private::ValueObjectChild::UpdateValue(), lldb::SBValue::Watch(), lldb_private::ConnectionFileDescriptor::Write(), lldb_private::Socket::Write(), lldb_private::process_darwin::NativeProcessDarwin::~NativeProcessDarwin(), lldb_private::StructuredDataDarwinLog::~StructuredDataDarwinLog(), and lldb_private::platform_android::AdbClient::SyncService::~SyncService().

◆ Clear()

void Status::Clear ( )

Clear the object state.

Reverts the state of this object to contain a generic success value and frees any cached error string value.

Definition at line 167 of file Status.cpp.

References lldb::eErrorTypeInvalid, m_code, m_string, and m_type.

Referenced by lldb_private::TCPSocket::Accept(), lldb_private::Socket::AcceptSocket(), AddPosixSpawnFileAction(), lldb_private::ValueObject::AddressOf(), PlatformPOSIX::Attach(), lldb_private::platform_freebsd::PlatformFreeBSD::Attach(), lldb_private::PlatformWindows::Attach(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::Attach(), CoreSimulatorSupport::Device::Boot(), CommandObjectTypeFormatList::CommandObjectTypeFormatList(), lldb_private::BreakpointLocation::ConditionSaysStop(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ConfigureRemoteStructuredData(), lldb_private::UDPSocket::Connect(), lldb_private::TCPSocket::Connect(), lldb_private::Platform::ConnectProcess(), lldb_private::Platform::ConnectToWaitingProcesses(), lldb_private::ProcessLaunchInfo::ConvertArgumentsForLaunchingInShell(), lldb_private::Socket::Create(), lldb_private::Socket::CreateSocket(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::DebugProcess(), lldb_private::Socket::DecodeHostAndPort(), EntityResultVariable::Dematerialize(), lldb_private::ValueObject::Dereference(), ProcessFreeBSD::DoAllocateMemory(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoAllocateMemory(), CommandObjectWatchpointSetVariable::DoExecute(), CommandObjectCommandsScriptImport::DoExecute(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoReadMemory(), sddarwinlog_private::RegexFilterRule::DoSerialization(), sddarwinlog_private::ExactMatchFilterRule::DoSerialization(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoWriteMemory(), lldb_private::SymbolContext::FindBestGlobalDataSymbol(), lldb_private::IRMemoryMap::Free(), lldb_private::IRExecutionUnit::FreeNow(), lldb_private::AppleGetQueuesHandler::GetCurrentQueues(), lldb_private::ValueObject::GetData(), PlatformPOSIX::GetFile(), lldb_private::StackFrame::GetFrameBaseValue(), lldb_private::AppleGetItemInfoHandler::GetItemInfo(), lldb_private::IRMemoryMap::GetMemoryData(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), lldb_private::UserExpression::GetObjectPointer(), lldb_private::AppleGetPendingItemsHandler::GetPendingItems(), lldb_private::File::GetPermissions(), lldb_private::Target::GetScratchTypeSystemForLanguage(), PlatformRemoteDarwinDevice::GetSharedModule(), lldb_private::IRExecutionUnit::GetStaticInitializers(), lldb_private::OptionValueProperties::GetSubValue(), lldb_private::AppleGetThreadItemInfoHandler::GetThreadItemInfo(), lldb_private::Value::GetValueByteSize(), lldb_private::StackFrame::GetValueForVariableExpressionPath(), lldb_private::Variable::GetValuesForVariableExpressionPath(), IRInterpreter::Interpret(), lldb_private::ValueObject::IsLogicalTrue(), lldb_private::ProcessLauncherWindows::LaunchProcess(), lldb_private::MonitoringProcessLauncher::LaunchProcess(), lldb_private::ThreadLauncher::LaunchThread(), lldb_private::IRMemoryMap::Leak(), lldb_private::TCPSocket::Listen(), lldb_private::IRMemoryMap::Malloc(), operator=(), ParseHostIOPacketResponse(), lldb_private::ConnectionGenericFile::Read(), lldb_private::ConnectionFileDescriptor::Read(), lldb_private::Target::ReadCStringFromMemory(), lldb_private::Process::ReadCStringFromMemory(), lldb_private::IRMemoryMap::ReadMemory(), lldb_private::Target::ReadMemory(), lldb_private::Process::ReadMemory(), lldb_private::IRMemoryMap::ReadPointerFromMemory(), ReadRegisterValueAsScalar(), lldb_private::IRMemoryMap::ReadScalarFromMemory(), lldb_private::Process::ReadStringFromMemory(), lldb_private::PlatformWindows::ResolveExecutable(), PlatformPOSIX::ResolveExecutable(), lldb_private::ScriptInterpreterPythonImpl::RunScriptBasedCommand(), lldb_private::File::SeekFromCurrent(), lldb_private::File::SeekFromEnd(), lldb_private::File::SeekFromStart(), SelectHelper::Select(), CommunicationKDP::SendRawRequest(), CommunicationKDP::SendRequestReadMemory(), CommunicationKDP::SendRequestReadRegisters(), CommunicationKDP::SendRequestWriteMemory(), lldb_private::ValueObject::SetData(), CommandObjectRenderScriptRuntimeAllocationDump::CommandOptions::SetOptionValue(), lldb_private::StringSummaryFormat::SetSummaryString(), lldb_private::ValueObject::SetValueFromCString(), CoreSimulatorSupport::Device::Shutdown(), lldb_private::Communication::StartReadThread(), lldb_private::BreakpointID::StringIsBreakpointName(), lldb_private::OptionArgParser::ToAddress(), lldb_private::OptionArgParser::ToOptionEnum(), lldb_private::formatters::NSSetISyntheticFrontEnd::Update(), lldb_private::formatters::GenericNSArrayMSyntheticFrontEnd< D32, D64 >::Update(), lldb_private::formatters::GenericNSSetMSyntheticFrontEnd< D32, D64 >::Update(), lldb_private::formatters::NSDictionaryISyntheticFrontEnd::Update(), lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::Update(), lldb_private::formatters::Foundation1100::NSDictionaryMSyntheticFrontEnd::Update(), lldb_private::formatters::GenericNSArrayISyntheticFrontEnd< D32, D64, Inline >::Update(), lldb_private::ValueObjectCast::UpdateValue(), lldb_private::ValueObjectChild::UpdateValue(), lldb_private::ValueObjectVariable::UpdateValue(), lldb_private::ValueObject::UpdateValueIfNeeded(), lldb_private::ConnectionGenericFile::Write(), lldb_private::IRMemoryMap::WriteMemory(), lldb_private::IRMemoryMap::WritePointerToMemory(), lldb_private::IRMemoryMap::WriteScalarToMemory(), lldb_private::IRMemoryMap::~IRMemoryMap(), and lldb_private::process_darwin::NativeProcessDarwin::~NativeProcessDarwin().

◆ Fail()

bool Status::Fail ( ) const

Test for error condition.

Returns
true if this object contains an error, false otherwise.

Definition at line 181 of file Status.cpp.

References m_code.

Referenced by lldb_private::formatters::Foundation1437::__NSArrayMSize_Impl(), lldb_private::formatters::Foundation1437::__NSDictionaryMSize_Impl(), lldb_private::formatters::Foundation1437::__NSSetMSize_Impl(), lldb_private::TCPSocket::Accept(), CommandObjectTargetSymbolsAdd::AddModuleSymbols(), AddPosixSpawnFileAction(), lldb_private::OptionValueString::AppendToCurrentValue(), lldb_private::process_gdb_remote::ProcessGDBRemote::AsyncThread(), lldb_private::process_netbsd::NativeProcessNetBSD::Factory::Attach(), lldb_private::process_linux::NativeProcessLinux::Factory::Attach(), lldb_private::PlatformWindows::Attach(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::Attach(), lldb_private::Process::Attach(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::AttachToProcess(), lldb_private::CommandInterpreter::BuildAliasResult(), lldb_private::ConnectionFileDescriptor::BytesAvailable(), lldb_private::formatters::LibcxxStdMapSyntheticFrontEnd::CalculateNumChildren(), lldb_private::formatters::CFBagSummaryProvider(), lldb_private::formatters::CFBinaryHeapSummaryProvider(), lldb_private::formatters::CFBitVectorSummaryProvider(), lldb_private::formatters::Char16SummaryProvider(), lldb_private::formatters::Char32SummaryProvider(), CheckIfWatchpointsSupported(), CommandObjectTypeFormatList::CommandObjectTypeFormatList(), lldb_private::BreakpointLocation::ConditionSaysStop(), lldb_private::DomainSocket::Connect(), lldb_private::TCPSocket::Connect(), lldb_private::platform_android::PlatformAndroidRemoteGDBServer::ConnectProcess(), lldb_private::Platform::ConnectProcess(), lldb_private::PlatformWindows::ConnectRemote(), PlatformPOSIX::ConnectRemote(), lldb_private::ConnectionFileDescriptor::ConnectTCP(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::ConnectToWaitingProcesses(), lldb_private::ConnectionFileDescriptor::ConnectUDP(), lldb_private::OptionValueUInt64::Create(), lldb_private::Socket::Create(), lldb_private::process_linux::ProcessorTraceMonitor::Create(), lldb_private::platform_android::AdbClient::CreateByDeviceID(), lldb_private::RenderScriptRuntime::CreateExceptionResolver(), lldb_private::BreakpointOptions::CreateFromStructuredData(), lldb_private::Breakpoint::CreateFromStructuredData(), lldb_private::RenderScriptRuntime::CreateKernelBreakpoint(), lldb_private::RenderScriptRuntime::CreateReductionBreakpoint(), lldb_private::RenderScriptRuntime::CreateScriptGroupBreakpoint(), lldb_private::TCPSocket::CreateSocket(), lldb_private::Target::CreateWatchpoint(), lldb_private::platform_netbsd::PlatformNetBSD::DebugProcess(), lldb_private::platform_linux::PlatformLinux::DebugProcess(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::DebugProcess(), lldb_private::platform_android::AdbClient::DeletePortForwarding(), lldb_private::process_linux::NativeProcessLinux::Detach(), lldb_private::AppleGetQueuesHandler::Detach(), lldb_private::AppleGetThreadItemInfoHandler::Detach(), lldb_private::AppleGetItemInfoHandler::Detach(), lldb_private::AppleGetPendingItemsHandler::Detach(), lldb_private::Target::DisableAllWatchpoints(), lldb_private::ConnectionFileDescriptor::Disconnect(), lldb_private::ProcessWindows::DoAttachToProcessWithID(), ProcessKDP::DoConnectRemote(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoConnectRemote(), CommandObjectBugreportUnwind::DoExecute(), CommandObjectSettingsSet::DoExecute(), CommandObjectTargetCreate::DoExecute(), CommandObjectMemoryRead::DoExecute(), CommandObjectProcessAttach::DoExecute(), CommandObjectSettingsRemove::DoExecute(), CommandObjectBreakpointSet::DoExecute(), CommandObjectMultiwordObjC_TaggedPointer_Info::DoExecute(), CommandObjectSettingsReplace::DoExecute(), CommandObjectSettingsInsertBefore::DoExecute(), CommandObjectProcessConnect::DoExecute(), CommandObjectSettingsInsertAfter::DoExecute(), CommandObjectCommandsAddRegex::DoExecute(), CommandObjectMemoryFind::DoExecute(), CommandObjectSettingsAppend::DoExecute(), CommandObjectSettingsClear::DoExecute(), CommandObjectPlatformProcessAttach::DoExecute(), CommandObjectPlatformShell::DoExecute(), CommandObjectMemoryRegion::DoExecute(), CommandObjectThreadJump::DoExecute(), CommandObjectTargetModulesLoad::DoExecute(), lldb_private::ProcessWindows::DoLaunch(), PlatformPOSIX::DoLoadImage(), ProcessKDP::DoReadMemory(), ProcessFreeBSD::DoResume(), lldb_private::Platform::DownloadModuleSlice(), lldb_private::platform_android::PlatformAndroid::DownloadSymbolFile(), lldb_private::ValueObject::DumpPrintableRepresentation(), DumpValue(), lldb_private::Target::EnableAllWatchpoints(), lldb_private::Process::EnableSoftwareBreakpoint(), lldb_private::UserExpression::Evaluate(), lldb_private::CommandObjectExpression::EvaluateExpression(), PlatformPOSIX::EvaluateLibdlExpression(), ExtractFields(), lldb_private::FunctionCaller::FetchFunctionResults(), lldb_private::ClangExpressionDeclMap::FindExternalVisibleDecls(), lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(), HexagonDYLDRendezvous::FindMetadata(), DYLDRendezvous::FindMetadata(), FindUnusedPort(), lldb_private::TypeFormatImpl_Format::FormatObject(), lldb_private::TypeFormatImpl_EnumType::FormatObject(), lldb_private::process_netbsd::NativeProcessNetBSD::GetAuxvData(), lldb_private::AppleObjCRuntime::GetBacktraceThreadFromException(), ObjectFileELF::GetBaseAddress(), lldb_private::formatters::LibcxxStdUnorderedMapSyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::LibcxxVectorBoolSyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::NSSetISyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::GenericNSSetMSyntheticFrontEnd< D32, D64 >::GetChildAtIndex(), lldb_private::formatters::NSDictionaryISyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::NSDictionary1SyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::GetChildAtIndex(), lldb_private::formatters::LibcxxStdMapSyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::Foundation1100::NSDictionaryMSyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::GenericNSArrayISyntheticFrontEnd< D32, D64, Inline >::GetChildAtIndex(), GetClassDataMask(), lldb_private::ValueObject::GetData(), lldb_private::StringSummaryFormat::GetDescription(), lldb_private::platform_android::AdbClient::GetDevices(), PlatformPOSIX::GetFile(), lldb_private::platform_android::PlatformAndroid::GetFile(), lldb_private::process_netbsd::NativeProcessNetBSD::GetFileLoadAddress(), lldb_private::process_linux::NativeProcessLinux::GetFileLoadAddress(), lldb_private::File::GetFileSpec(), PlatformMacOSX::GetFileWithUUID(), lldb_private::process_linux::NativeProcessLinux::GetLoadedModuleFileSpec(), lldb_private::process_netbsd::NativeProcessNetBSD::GetMemoryRegionInfo(), lldb_private::process_linux::NativeProcessLinux::GetMemoryRegionInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), lldb_private::Process::GetMemoryRegions(), lldb_private::minidump::MinidumpParser::GetModuleUUID(), lldb_private::AppleObjCRuntime::GetObjectDescription(), lldb_private::ValueObject::GetPointeeData(), GetRegistersAsJSON(), GetReturnValuePassedInMemory(), lldb_private::platform_android::PlatformAndroid::GetSdkVersion(), DynamicLoaderMacOSXDYLD::GetSharedCacheInformation(), lldb_private::ModuleList::GetSharedModule(), PlatformDarwin::GetSharedModuleWithLocalCache(), lldb_private::platform_android::AdbClient::GetSyncService(), lldb_private::AppleObjCRuntimeV2::GetTaggedPointerObfuscator(), lldb_private::process_linux::NativeProcessLinux::GetThreadByID(), lldb_private::minidump::MinidumpParser::GetThreadContextWow64(), lldb_private::process_linux::ProcessorTraceMonitor::GetTraceConfig(), lldb_private::MainThreadCheckerRuntime::GetTypeStatic(), lldb_private::Value::GetValueAsData(), lldb_private::ValueObject::GetValueForExpressionPath(), lldb_private::StackFrame::GetValueForVariableExpressionPath(), GetValueOfCompressedPair(), lldb_private::Variable::GetValuesForVariableExpressionPath(), GetVTableAddress(), lldb_private::StackFrame::GuessValueForAddress(), lldb_private::Process::HaltPrivate(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_C(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_c(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_D(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_I(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_interrupt(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_jTraceConfigRead(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_jTraceRead(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_jTraceStart(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_jTraceStop(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_k(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_M(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_memory_read(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_p(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qFileLoadAddress(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerPlatform::Handle_qLaunchGDBServer(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qMemoryRegionInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qMemoryRegionInfoSupported(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_QPassSignals(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qPlatform_shell(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_QRestoreRegisterState(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_QSaveRegisterState(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_s(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_vAttach(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_vCont(), lldb_private::CommandInterpreter::HandleCommand(), lldb_private::CommandInterpreter::HandleCommandsFromFile(), lldb_private::CommandObjectExpression::HandleCompletion(), lldb_private::AppleObjCRuntimeV1::ClassDescriptorV1::Initialize(), lldb_private::DynamicCheckerFunctions::Install(), IRInterpreter::Interpret(), CommandObjectCommandsAddRegex::IOHandlerInputComplete(), lldb_private::platform_android::AdbClient::SyncService::IsConnected(), lldb_private::process_netbsd::NativeProcessNetBSD::Factory::Launch(), lldb_private::process_linux::NativeProcessLinux::Factory::Launch(), lldb_private::Process::Launch(), lldb_private::process_gdb_remote::ProcessGDBRemote::LaunchAndConnectToDebugserver(), lldb_private::ProcessLauncherPosixFork::LaunchProcess(), PlatformAppleSimulator::LaunchProcess(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::LaunchProcess(), lldb_private::Platform::LaunchProcess(), LaunchProcessPosixSpawn(), LaunchProcessXPC(), lldb_private::formatters::LibStdcppStringSummaryProvider(), lldb_private::formatters::LibStdcppWStringSummaryProvider(), lldb_private::DomainSocket::Listen(), lldb_private::TCPSocket::Listen(), lldb_private::Platform::LoadImage(), DynamicLoaderPOSIXDYLD::LoadInterpreterModule(), lldb_private::ScriptInterpreterPythonImpl::LoadScriptingModule(), lldb_private::ModuleList::LoadScriptingResourcesInTarget(), DynamicLoaderPOSIXDYLD::LoadVDSO(), lldb_private::AppleObjCRuntimeV2::LookupRuntimeSymbol(), lldb_private::platform_android::PlatformAndroidRemoteGDBServer::MakeConnectURL(), lldb_private::UtilityFunction::MakeFunctionCaller(), PlatformPOSIX::MakeLoadImageUtilityFunction(), EntityVariable::Materialize(), lldb_private::ConnectionFileDescriptor::NamedSocketAccept(), lldb_private::ConnectionFileDescriptor::NamedSocketConnect(), lldb_private::formatters::NSArraySummaryProvider(), lldb_private::formatters::NSArraySyntheticFrontEndCreator(), lldb_private::formatters::NSAttributedStringSummaryProvider(), lldb_private::formatters::NSDataSummaryProvider(), lldb_private::formatters::NSDateSummaryProvider(), lldb_private::formatters::NSDecimalNumberSummaryProvider(), lldb_private::formatters::NSDictionarySummaryProvider(), lldb_private::formatters::NSDictionarySyntheticFrontEndCreator(), lldb_private::formatters::NSError_SummaryProvider(), lldb_private::formatters::NSIndexSetSummaryProvider(), lldb_private::formatters::NSNumberSummaryProvider(), lldb_private::formatters::NSSetSummaryProvider(), lldb_private::formatters::NSSetSyntheticFrontEndCreator(), lldb_private::formatters::NSStringSummaryProvider(), lldb_private::formatters::ObjCBOOLSummaryProvider(), lldb_private::formatters::ObjCSELSummaryProvider(), lldb_private::DynamicLoaderWindowsDYLD::OnLoadModule(), lldb_private::OptionGroupOptions::OptionParsingFinished(), lldb_private::Options::Parse(), lldb_private::minidump::MinidumpThread::Parse(), lldb_private::minidump::MinidumpMiscInfo::Parse(), lldb_private::minidump::MinidumpExceptionStream::Parse(), lldb_private::FormatEntity::ParseInternal(), lldb_private::minidump::MinidumpMemoryDescriptor64::ParseMemory64List(), lldb_private::minidump::MinidumpMemoryInfo::ParseMemoryInfoList(), lldb_private::minidump::MinidumpMemoryDescriptor::ParseMemoryList(), ParseOpenBSDProcInfo(), lldb_private::minidump::MinidumpThread::ParseThreadList(), ABIMacOSX_i386::PrepareTrivialCall(), ABISysV_i386::PrepareTrivialCall(), lldb_private::ProcessStructReader::ProcessStructReader(), lldb_private::process_netbsd::NativeProcessNetBSD::PtraceWrapper(), lldb_private::process_linux::NativeProcessLinux::PtraceWrapper(), lldb_private::platform_android::PlatformAndroid::PutFile(), lldb_private::Platform::PutFile(), lldb::SBThreadPlan::QueueThreadPlanForRunToAddress(), lldb::SBThreadPlan::QueueThreadPlanForStepInRange(), lldb::SBThreadPlan::QueueThreadPlanForStepOut(), lldb::SBThreadPlan::QueueThreadPlanForStepOverRange(), lldb::SBThreadPlan::QueueThreadPlanForStepScripted(), lldb_private::ConnectionFileDescriptor::Read(), lldb_private::File::Read(), lldb_private::FileCache::ReadFile(), ReadFlags(), ReadInt(), lldb_private::process_netbsd::NativeProcessNetBSD::ReadMemory(), lldb_private::process_linux::NativeProcessLinux::ReadMemory(), lldb_private::NativeProcessProtocol::ReadMemoryWithoutTrap(), DYLDRendezvous::ReadPointer(), HexagonDYLDRendezvous::ReadPointer(), lldb_private::DynamicLoader::ReadPointer(), lldb_private::NativeRegisterContext::ReadRegisterValueFromMemory(), HexagonDYLDRendezvous::ReadStringFromMemory(), lldb_private::Communication::ReadThread(), lldb_private::DynamicLoader::ReadUnsignedIntWithSizeInBytes(), DYLDRendezvous::ReadWord(), HexagonDYLDRendezvous::ReadWord(), lldb_private::process_darwin::MachException::Message::Receive(), RecurseCopy_Callback(), lldb_private::RenderScriptRuntime::RefreshAllocation(), lldb_private::Target::RemoveAllWatchpoints(), lldb_private::NativeProcessProtocol::RemoveSoftwareBreakpoint(), lldb_private::NativeProcessProtocol::RemoveWatchpoint(), lldb_private::process_darwin::MachException::Message::Reply(), PlatformRemoteDarwinDevice::ResolveExecutable(), PlatformPOSIX::ResolveExecutable(), lldb_private::PlatformWindows::ResolveExecutable(), PlatformAppleTVSimulator::ResolveExecutable(), PlatformAppleWatchSimulator::ResolveExecutable(), PlatformiOSSimulator::ResolveExecutable(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::ResolveExecutable(), ResolveRendezvousAddress(), lldb_private::process_darwin::MachException::PortInfo::Restore(), lldb_private::process_linux::NativeProcessLinux::Resume(), lldb_private::MainLoop::Run(), IOHandlerProcessSTDIO::Run(), lldb_private::process_darwin::MachException::PortInfo::Save(), ObjectFileMachO::SaveCore(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendStopReplyPacketForThread(), lldb_private::Target::SetArchitecture(), lldb_private::OptionValueDictionary::SetArgs(), lldb_private::OptionValueArray::SetArgs(), lldb_private::ScriptInterpreterPythonImpl::SetBreakpointCommandCallback(), lldb_private::Watchpoint::SetCondition(), lldb_private::OptionValueString::SetCurrentValue(), lldb_private::ValueObjectVariable::SetData(), lldb_private::RegisterValue::SetFromMemoryData(), lldb_private::process_netbsd::NativeThreadNetBSD::SetHardwareBreakpoint(), lldb_private::process_linux::NativeThreadLinux::SetHardwareBreakpoint(), lldb_private::NativeProcessProtocol::SetHardwareBreakpoint(), lldb::SBDebugger::SetInternalVariable(), lldb_private::platform_android::AdbClient::SetPortForwarding(), ABISysV_arm::SetReturnValueObject(), ABIMacOSX_arm::SetReturnValueObject(), ABISysV_s390x::SetReturnValueObject(), ABISysV_mips::SetReturnValueObject(), ABISysV_ppc::SetReturnValueObject(), ABIMacOSX_i386::SetReturnValueObject(), ABISysV_ppc64::SetReturnValueObject(), ABISysV_arm64::SetReturnValueObject(), ABISysV_mips64::SetReturnValueObject(), ABISysV_x86_64::SetReturnValueObject(), ABISysV_i386::SetReturnValueObject(), ABIMacOSX_arm64::SetReturnValueObject(), lldb_private::AppleObjCTrampolineHandler::SetupDispatchFunction(), lldb_private::ValueObjectVariable::SetValueFromCString(), lldb_private::Scalar::SetValueFromCString(), lldb_private::OptionValueString::SetValueFromString(), lldb_private::process_netbsd::NativeThreadNetBSD::SetWatchpoint(), lldb_private::process_linux::NativeThreadLinux::SetWatchpoint(), lldb_private::NativeProcessProtocol::SetWatchpoint(), lldb_private::platform_android::AdbClient::Shell(), lldb_private::platform_android::AdbClient::ShellToFile(), lldb_private::ConnectionFileDescriptor::SocketListenAndAccept(), CoreSimulatorSupport::Device::Spawn(), lldb_private::process_gdb_remote::GDBRemoteCommunication::StartDebugserverProcess(), lldb::SBThread::StepUsingScriptedThreadPlan(), lldb_private::process_linux::NativeProcessLinux::StopTrace(), lldb_private::platform_android::AdbClient::SwitchDeviceTransport(), lldb_private::Socket::TcpConnect(), lldb_private::Socket::TcpListen(), lldb_private::OptionArgParser::ToFormat(), lldb_private::Socket::UnixAbstractAccept(), lldb_private::Socket::UnixAbstractConnect(), lldb_private::ConnectionFileDescriptor::UnixAbstractSocketConnect(), lldb_private::Socket::UnixDomainAccept(), lldb_private::Socket::UnixDomainConnect(), PlatformPOSIX::UnloadImage(), lldb_private::formatters::VectorIteratorSyntheticFrontEnd::Update(), lldb_private::formatters::NSSetISyntheticFrontEnd::Update(), lldb_private::formatters::GenericNSArrayMSyntheticFrontEnd< D32, D64 >::Update(), lldb_private::formatters::GenericNSSetMSyntheticFrontEnd< D32, D64 >::Update(), lldb_private::formatters::NSDictionaryISyntheticFrontEnd::Update(), NSErrorSyntheticFrontEnd::Update(), lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::Update(), lldb_private::formatters::Foundation1100::NSDictionaryMSyntheticFrontEnd::Update(), lldb_private::formatters::GenericNSArrayISyntheticFrontEnd< D32, D64, Inline >::Update(), lldb_private::process_darwin::NativeThreadListDarwin::UpdateThreadList(), lldb_private::ValueObjectCast::UpdateValue(), lldb_private::formatters::WCharSummaryProvider(), lldb_private::ConnectionFileDescriptor::Write(), lldb_private::File::Write(), lldb_private::FileCache::WriteFile(), lldb_private::process_netbsd::NativeProcessNetBSD::WriteMemory(), lldb_private::process_linux::NativeProcessLinux::WriteMemory(), lldb_private::Process::WriteMemory(), lldb_private::process_linux::NativeRegisterContextLinux::WriteRegisterRaw(), lldb_private::NativeRegisterContext::WriteRegisterValueToMemory(), lldb_private::IRMemoryMap::~IRMemoryMap(), lldb_private::process_darwin::NativeProcessDarwin::~NativeProcessDarwin(), and lldb_private::platform_android::AdbClient::SyncService::~SyncService().

◆ GetError()

Status::ValueType Status::GetError ( ) const

Access the error value.

Returns
The error value.

Definition at line 174 of file Status.cpp.

References m_code.

Referenced by lldb_private::process_linux::NativeProcessLinux::Factory::Attach(), lldb_private::CommandInterpreter::BuildAliasResult(), lldb_private::ConnectionFileDescriptor::BytesAvailable(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::CreateSymlink(), CommandObjectProcessKDPPacketSend::DoExecute(), lldb_private::RenderScriptRuntime::EvalRSExpression(), PlatformPOSIX::EvaluateLibdlExpression(), lldb_private::process_netbsd::NativeProcessNetBSD::GetAuxvData(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::GetFilePermissions(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_jTraceStart(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qPlatform_chmod(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qPlatform_mkdir(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_Close(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_Open(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_pRead(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_pWrite(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_symlink(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_unlink(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::MakeDirectory(), EntityVariable::Materialize(), lldb_private::ProcessWindows::OnDebuggerError(), lldb_private::ConnectionFileDescriptor::Read(), ReadFlags(), lldb_private::Communication::ReadThread(), lldb_private::process_darwin::MachException::Message::Reply(), lldb_private::process_darwin::MachException::PortInfo::Restore(), lldb_private::process_darwin::MachException::PortInfo::Save(), SelectHelper::Select(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServer::SendErrorResponse(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::SetFilePermissions(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::Unlink(), PlatformPOSIX::UnloadImage(), lldb_private::process_darwin::NativeThreadListDarwin::UpdateThreadList(), lldb_private::ConnectionFileDescriptor::Write(), and lldb_private::process_darwin::NativeProcessDarwin::~NativeProcessDarwin().

◆ GetType()

ErrorType Status::GetType ( ) const

Access the error type.

Returns
The error type enumeration value.

Definition at line 177 of file Status.cpp.

References m_type.

Referenced by lldb_private::Communication::ReadThread().

◆ operator=() [1/2]

const Status & Status::operator= ( const Status rhs)

Assignment operator.

Parameters
[in]errAn error code.
Returns
A const reference to this object.

Definition at line 99 of file Status.cpp.

References m_code, m_string, m_type, and ~Status().

◆ operator=() [2/2]

const Status & Status::operator= ( llvm::Error  error)

◆ SetError()

void Status::SetError ( ValueType  err,
lldb::ErrorType  type 
)

Set accesssor with an error value and type.

Set accesssor for the error value to err and the error type to type.

Parameters
[in]errA mach error code.
[in]typeThe type for err.

Definition at line 216 of file Status.cpp.

References m_code, m_string, and m_type.

Referenced by AddPosixSpawnFileAction(), lldb_private::HostThreadPosix::Cancel(), lldb_private::HostThreadWindows::Cancel(), lldb_private::ConnectionGenericFile::Connect(), lldb_private::darwin_process_launcher::CreatePosixSpawnFileAction(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::CreateSymlink(), lldb_private::PipeWindows::CreateWithUniqueName(), lldb_private::HostThreadPosix::Detach(), lldb_private::ProcessWindows::DoAllocateMemory(), lldb_private::ProcessWindows::DoDeallocateMemory(), lldb_private::ProcessWindows::DoHalt(), lldb_private::ProcessWindows::DoReadMemory(), lldb_private::ProcessWindows::DoWriteMemory(), lldb_private::UserExpression::Evaluate(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetFilePermissions(), GetMacOSXProcessUserAndGroup(), lldb_private::HostProcessWindows::GetMainModule(), lldb_private::ProcessWindows::GetMemoryRegionInfo(), StringExtractorGDBRemote::GetStatus(), lldb_private::HostThreadPosix::Join(), lldb_private::HostThreadWindows::Join(), lldb_private::ProcessLauncherWindows::LaunchProcess(), LaunchProcessPosixSpawn(), LaunchProcessXPC(), lldb_private::ThreadLauncher::LaunchThread(), ParseHostIOPacketResponse(), lldb_private::darwin_process_launcher::PosixSpawnChildForPTraceDebugging(), lldb_private::process_darwin::MachException::Message::Receive(), lldb_private::process_darwin::MachException::Message::Reply(), lldb_private::process_darwin::MachException::PortInfo::Restore(), lldb_private::process_darwin::MachException::PortInfo::Save(), lldb_private::SaveMiniDump(), SelectHelper::Select(), lldb_private::Socket::SetLastError(), lldb_private::DebuggerThread::StopDebugging(), lldb_private::HostProcessWindows::Terminate(), lldb::SBHostOS::ThreadCancel(), lldb::SBHostOS::ThreadDetach(), lldb::SBHostOS::ThreadJoin(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::Unlink(), lldb_private::process_darwin::NativeThreadListDarwin::UpdateThreadList(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::WriteFile(), and lldb_private::process_darwin::NativeProcessDarwin::~NativeProcessDarwin().

◆ SetErrorString()

void Status::SetErrorString ( llvm::StringRef  err_str)

Set the current error string to err_str.

Set accessor for the error string value for a generic errors, or to supply additional details above and beyond the standard error strings that the standard type callbacks typically provide. This allows custom strings to be supplied as an error explanation. The error string value will remain until the error value is cleared or a new error value/type is assigned.

Parameters
err_strThe new custom error string to copy and cache.

Definition at line 241 of file Status.cpp.

References m_string, SetErrorToGenericError(), and Success().

Referenced by lldb_private::TCPSocket::Accept(), AddPosixSpawnFileAction(), CommandObjectTypeSummaryAdd::AddSummary(), CommandObjectTypeSynthAdd::AddSynth(), lldb_private::process_darwin::NativeProcessDarwin::AllocateMemory(), PlatformPOSIX::Attach(), lldb_private::platform_freebsd::PlatformFreeBSD::Attach(), lldb_private::PlatformWindows::Attach(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::Attach(), lldb_private::Target::Attach(), lldb_private::Process::Attach(), CoreSimulatorSupport::Device::Boot(), lldb_private::ConnectionFileDescriptor::BytesAvailable(), IRInterpreter::CanInterpret(), DynamicLoaderStatic::CanLoadImage(), DynamicLoaderMacOS::CanLoadImage(), DynamicLoaderDarwinKernel::CanLoadImage(), DynamicLoaderMacOSXDYLD::CanLoadImage(), lldb_private::FileCache::CloseFile(), lldb_private::ClangUserExpression::Complete(), lldb_private::BreakpointLocation::ConditionSaysStop(), lldb_private::Breakpoint::BreakpointPrecondition::ConfigurePrecondition(), lldb_private::ObjCLanguageRuntime::ObjCExceptionPrecondition::ConfigurePrecondition(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ConfigureRemoteStructuredData(), lldb_private::UDPSocket::Connect(), lldb_private::TCPSocket::Connect(), lldb_private::ConnectionFileDescriptor::Connect(), lldb_private::Communication::Connect(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::ConnectProcess(), PlatformAppleSimulator::ConnectRemote(), lldb_private::PlatformWindows::ConnectRemote(), PlatformPOSIX::ConnectRemote(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::ConnectRemote(), lldb_private::process_gdb_remote::ProcessGDBRemote::ConnectToDebugserver(), lldb_private::minidump::consumeObject(), lldb_private::ProcessLaunchInfo::ConvertArgumentsForLaunchingInShell(), lldb_private::Socket::Create(), lldb_private::process_linux::ProcessorTraceMonitor::Create(), lldb_private::Platform::Create(), lldb_private::BreakpointResolverFileLine::CreateFromStructuredData(), lldb_private::BreakpointResolverFileRegex::CreateFromStructuredData(), lldb_private::BreakpointResolverAddress::CreateFromStructuredData(), lldb_private::BreakpointResolverScripted::CreateFromStructuredData(), lldb_private::BreakpointResolverName::CreateFromStructuredData(), lldb_private::BreakpointOptions::CommandData::CreateFromStructuredData(), lldb_private::BreakpointResolver::CreateFromStructuredData(), lldb_private::Breakpoint::CreateFromStructuredData(), lldb_private::SearchFilter::CreateFromStructuredData(), lldb_private::SearchFilterByModule::CreateFromStructuredData(), lldb_private::SearchFilterByModuleListAndCU::CreateFromStructuredData(), lldb_private::darwin_process_launcher::CreatePosixSpawnFileAction(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::CreateSymlink(), lldb_private::OptionValue::CreateValueFromCStringForTypeMask(), lldb_private::Target::CreateWatchpoint(), lldb_private::process_darwin::NativeProcessDarwin::DeallocateMemory(), lldb_private::platform_netbsd::PlatformNetBSD::DebugProcess(), PlatformPOSIX::DebugProcess(), lldb_private::PlatformWindows::DebugProcess(), lldb_private::platform_linux::PlatformLinux::DebugProcess(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::DebugProcess(), lldb_private::platform_android::AdbClient::DeletePortForwarding(), lldb_private::Materializer::Dematerializer::Dematerialize(), EntityResultVariable::Dematerialize(), lldb_private::process_darwin::NativeProcessDarwin::Detach(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::Detach(), ProcessKDP::DisableBreakpointSite(), lldb_private::Process::DisableSoftwareBreakpoint(), ProcessFreeBSD::DisableWatchpoint(), ProcessKDP::DisableWatchpoint(), lldb_private::process_gdb_remote::ProcessGDBRemote::DisableWatchpoint(), lldb_private::Process::DisableWatchpoint(), PlatformAppleSimulator::DisconnectRemote(), lldb_private::PlatformWindows::DisconnectRemote(), PlatformPOSIX::DisconnectRemote(), lldb_private::ProcessWindows::DoAllocateMemory(), ProcessKDP::DoAllocateMemory(), ProcessKDP::DoAttachToProcessWithID(), ProcessKDP::DoAttachToProcessWithName(), lldb_private::Process::DoAttachToProcessWithName(), ProcessKDP::DoConnectRemote(), lldb_private::Process::DoConnectRemote(), lldb_private::ProcessWindows::DoDeallocateMemory(), ProcessKDP::DoDeallocateMemory(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoDeallocateMemory(), ProcessFreeBSD::DoDestroy(), ProcessFreeBSD::DoDetach(), CommandObjectPlatformShell::DoExecute(), ProcessKDP::DoHalt(), lldb_private::ProcessWindows::DoLaunch(), ProcessKDP::DoLaunch(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoLaunch(), ProcessMachCore::DoLoadCore(), lldb_private::minidump::ProcessMinidump::DoLoadCore(), ProcessElfCore::DoLoadCore(), PlatformPOSIX::DoLoadImage(), lldb_private::Platform::DoLoadImage(), lldb_private::minidump::ProcessMinidump::DoReadMemory(), ProcessKDP::DoReadMemory(), lldb_private::ProcessWindows::DoResume(), ProcessKDP::DoResume(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoResume(), sddarwinlog_private::RegexFilterRule::DoSerialization(), sddarwinlog_private::ExactMatchFilterRule::DoSerialization(), ProcessKDP::DoSignal(), lldb_private::Platform::DownloadModuleSlice(), ProcessKDP::DoWriteMemory(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoWriteMemory(), lldb_private::Properties::DumpPropertyValue(), ProcessKDP::EnableBreakpointSite(), lldb_private::process_gdb_remote::ProcessGDBRemote::EnableBreakpointSite(), lldb_private::Process::EnableSoftwareBreakpoint(), ProcessFreeBSD::EnableWatchpoint(), ProcessKDP::EnableWatchpoint(), lldb_private::process_gdb_remote::ProcessGDBRemote::EnableWatchpoint(), lldb_private::Process::EnableWatchpoint(), lldb_private::DWARFExpression::Evaluate(), lldb_private::UserExpression::Evaluate(), lldb_private::ScriptInterpreterPythonImpl::ExecuteMultipleLines(), lldb_private::ScriptInterpreter::ExecuteMultipleLines(), lldb_private::ScriptInterpreter::ExportFunctionDefinitionToInterpreter(), ExtractRuntimeGlobalSymbol(), lldb_private::SymbolContext::FindBestGlobalDataSymbol(), lldb_private::process_gdb_remote::ProcessGDBRemote::FlashErase(), lldb_private::File::Flush(), lldb_private::darwin_process_launcher::ForkChildForPTraceDebugging(), lldb_private::IRMemoryMap::Free(), lldb_private::IRExecutionUnit::FreeNow(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerPlatform::GDBRemoteCommunicationServerPlatform(), lldb_private::ScriptInterpreter::GenerateBreakpointCommandCallbackData(), lldb_private::ScriptInterpreterPythonImpl::GenerateBreakpointCommandCallbackData(), lldb_private::ScriptInterpreterPythonImpl::GenerateFunction(), lldb_private::ScriptInterpreter::GenerateFunction(), lldb_private::SymbolContext::GetAddressRangeFromHereToEndLine(), lldb_private::StructuredDataImpl::GetAsJSON(), lldb_private::RegisterValue::GetAsMemoryData(), lldb_private::Scalar::GetAsMemoryData(), ObjectFileELF::GetBaseAddress(), sddarwinlog_private::EnableOptions::GetBroadcastEvents(), lldb_private::process_linux::ProcessorTraceMonitor::GetCPUType(), lldb_private::AppleGetQueuesHandler::GetCurrentQueues(), lldb_private::StructuredDataDarwinLog::GetDescription(), lldb_private::StructuredDataImpl::GetDescription(), PlatformPOSIX::GetFile(), lldb_private::process_darwin::NativeProcessDarwin::GetFileLoadAddress(), lldb_private::File::GetFileSpec(), lldb_private::StackFrame::GetFrameBaseExpression(), lldb_private::StackFrame::GetFrameBaseValue(), lldb_private::AppleGetItemInfoHandler::GetItemInfo(), lldb_private::process_darwin::NativeProcessDarwin::GetLoadedModuleFileSpec(), GetMacOSXProcessUserAndGroup(), lldb_private::HostProcessWindows::GetMainModule(), lldb_private::HostProcessPosix::GetMainModule(), lldb_private::IRMemoryMap::GetMemoryData(), lldb_private::Module::GetMemoryObjectFile(), lldb_private::process_netbsd::NativeProcessNetBSD::GetMemoryRegionInfo(), lldb_private::process_darwin::NativeProcessDarwin::GetMemoryRegionInfo(), lldb_private::ProcessWindows::GetMemoryRegionInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), lldb_private::Process::GetMemoryRegionInfo(), lldb_private::Target::GetOrCreateModule(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServer::GetPacketAndSendResponse(), lldb_private::process_gdb_remote::GDBRemoteCommunicationReplayServer::GetPacketAndSendResponse(), lldb_private::AppleGetPendingItemsHandler::GetPendingItems(), lldb_private::File::GetPermissions(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetQXferMemoryMapRegionInfo(), lldb_private::IRExecutionUnit::GetRunnableInfo(), lldb_private::process_darwin::NativeProcessDarwin::GetSoftwareBreakpointTrapOpcode(), ValueImpl::GetSP(), lldb::SBValue::GetSP(), StringExtractorGDBRemote::GetStatus(), lldb_private::ProcessWindows::GetSTDERR(), lldb_private::ProcessWindows::GetSTDOUT(), PlatformRemoteDarwinDevice::GetSymbolFile(), PlatformAppleTVSimulator::GetSymbolFile(), PlatformAppleWatchSimulator::GetSymbolFile(), PlatformiOSSimulator::GetSymbolFile(), lldb_private::AppleGetThreadItemInfoHandler::GetThreadItemInfo(), lldb_private::process_linux::ProcessorTraceMonitor::GetTraceConfig(), lldb_private::process_linux::NativeProcessLinux::GetTraceConfig(), lldb_private::Value::GetValueAsData(), lldb_private::Value::GetValueByteSize(), lldb_private::StackFrame::GetValueForVariableExpressionPath(), lldb_private::Variable::GetValuesForVariableExpressionPath(), ProcessFreeBSD::GetWatchpointSupportInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetWatchpointSupportInfo(), lldb_private::Process::GetWatchpointSupportInfo(), lldb_private::process_darwin::NativeProcessDarwin::Halt(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::HandshakeWithServer(), lldb_private::Platform::Install(), IRInterpreter::Interpret(), lldb_private::NativeProcessProtocol::Interrupt(), lldb_private::process_darwin::NativeProcessDarwin::Interrupt(), lldb_private::ValueObject::IsLogicalTrue(), lldb_private::process_darwin::NativeProcessDarwin::Kill(), lldb_private::Target::Launch(), lldb_private::Process::Launch(), lldb_private::process_gdb_remote::ProcessGDBRemote::LaunchAndConnectToDebugserver(), lldb_private::darwin_process_launcher::LaunchInferior(), LaunchInNewTerminalWithAppleScript(), lldb_private::ProcessLauncherPosixFork::LaunchProcess(), lldb_private::MonitoringProcessLauncher::LaunchProcess(), PlatformAppleSimulator::LaunchProcess(), lldb_private::platform_freebsd::PlatformFreeBSD::LaunchProcess(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::LaunchProcess(), lldb_private::RemoteAwarePlatform::LaunchProcess(), lldb_private::Platform::LaunchProcess(), lldb_private::IRMemoryMap::Leak(), lldb_private::TCPSocket::Listen(), lldb_private::Process::LoadCore(), lldb_private::Platform::LoadImage(), LoadPlugin(), lldb_private::Debugger::LoadPlugin(), lldb_private::ScriptInterpreterPythonImpl::LoadPluginModule(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::LoadQXferMemoryMap(), lldb_private::ScriptInterpreterPythonImpl::LoadScriptingModule(), lldb_private::ScriptInterpreter::LoadScriptingModule(), lldb_private::Module::LoadScriptingResourceInTarget(), lldb_private::UtilityFunction::MakeFunctionCaller(), PlatformPOSIX::MakeLoadImageUtilityFunction(), lldb_private::IRMemoryMap::Malloc(), lldb_private::Materializer::Materialize(), EntityResultVariable::Materialize(), lldb_private::FileCache::OpenFile(), operator=(), sddarwinlog_private::ParseAutoEnableOptions(), lldb_private::FormatEntity::ParseInternal(), lldb_private::darwin_process_launcher::PosixSpawnChildForPTraceDebugging(), lldb_private::ClangExpressionParser::PrepareForExecution(), ProcessMonitor::ProcessMonitor(), lldb_private::ProcessWindows::PutSTDIN(), lldb_private::Process::PutSTDIN(), lldb_private::Thread::QueueThreadPlan(), lldb_private::ConnectionFileDescriptor::Read(), lldb_private::File::Read(), lldb_private::Communication::Read(), lldb_private::Target::ReadCStringFromMemory(), lldb_private::Process::ReadCStringFromMemory(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ReadExtFeature(), lldb_private::FileCache::ReadFile(), lldb_private::Communication::ReadFromConnection(), lldb_private::IRMemoryMap::ReadMemory(), lldb_private::process_darwin::NativeProcessDarwin::ReadMemory(), lldb_private::Target::ReadMemoryFromFileCache(), lldb_private::process_darwin::NativeProcessDarwin::ReadMemoryWithoutTrap(), lldb_private::process_linux::ProcessorTraceMonitor::ReadPerfTraceData(), lldb_private::ValueObject::ReadPointedString(), lldb_private::RegisterContextThreadMemory::ReadRegisterValueFromMemory(), lldb_private::NativeRegisterContext::ReadRegisterValueFromMemory(), lldb_private::RegisterContext::ReadRegisterValueFromMemory(), lldb_private::IRMemoryMap::ReadScalarFromMemory(), lldb_private::Process::ReadScalarIntegerFromMemory(), lldb_private::Process::ReadStringFromMemory(), RecurseCopy_Callback(), lldb_private::MainLoop::RegisterReadObject(), lldb_private::MainLoop::RegisterSignal(), lldb_private::process_darwin::NativeThreadDarwin::RemoveWatchpoint(), lldb_private::Process::ResolveIndirectFunction(), lldb_private::Platform::ResolveSymbolFile(), lldb_private::Thread::ReturnFromFrame(), lldb_private::ScriptInterpreterPythonImpl::RunScriptBasedCommand(), lldb_private::ScriptInterpreterPythonImpl::RunScriptFormatKeyword(), lldb_private::ScriptInterpreter::RunScriptFormatKeyword(), lldb_private::Host::RunShellCommand(), lldb_private::ClangExpressionParser::RunStaticInitializers(), ObjectFileMachO::SaveCore(), lldb_private::PluginManager::SaveCore(), lldb_private::SaveMiniDump(), lldb_private::File::SeekFromCurrent(), lldb_private::File::SeekFromEnd(), lldb_private::File::SeekFromStart(), SelectHelper::Select(), lldb_private::process_gdb_remote::ProcessGDBRemote::SendEventData(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendGetTraceConfigPacket(), CommunicationKDP::SendRawRequest(), CommunicationKDP::SendRequestReadMemory(), CommunicationKDP::SendRequestReadRegisters(), CommunicationKDP::SendRequestWriteMemory(), CommunicationKDP::SendRequestWriteRegisters(), lldb_private::Target::SerializeBreakpointsToFile(), lldb_private::OptionValueDictionary::SetArgs(), lldb_private::OptionValueArray::SetArgs(), lldb_private::process_darwin::NativeProcessDarwin::SetBreakpoint(), lldb_private::ScriptInterpreter::SetBreakpointCommandCallback(), lldb::SBDebugger::SetCurrentPlatform(), lldb_private::ValueObjectVariable::SetData(), lldb_private::ValueObjectDynamicValue::SetData(), lldb_private::ValueObject::SetData(), SetErrorWithJSON(), lldb_private::RegisterValue::SetFromMemoryData(), lldb_private::OptionGroupFormat::SetOptionValue(), lldb_private::OptionGroupOptions::SetOptionValue(), CommandObjectMemoryFind::OptionGroupFindMemory::SetOptionValue(), CommandObjectTargetModulesLookup::CommandOptions::SetOptionValue(), lldb_private::Properties::SetPropertyValue(), ABIMacOSX_arm::SetReturnValueObject(), ABISysV_arm::SetReturnValueObject(), ABIMacOSX_i386::SetReturnValueObject(), ABISysV_mips64::SetReturnValueObject(), ABISysV_ppc::SetReturnValueObject(), ABISysV_s390x::SetReturnValueObject(), ABISysV_arm64::SetReturnValueObject(), ABISysV_mips::SetReturnValueObject(), ABISysV_ppc64::SetReturnValueObject(), ABISysV_x86_64::SetReturnValueObject(), ABISysV_i386::SetReturnValueObject(), ABIMacOSX_arm64::SetReturnValueObject(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SetSTDIOFileDescriptor(), lldb_private::ValueObjectVariable::SetValueFromCString(), lldb_private::ValueObjectDynamicValue::SetValueFromCString(), lldb_private::Scalar::SetValueFromCString(), lldb_private::ValueObject::SetValueFromCString(), lldb_private::RegisterValue::SetValueFromData(), lldb_private::Scalar::SetValueFromData(), lldb_private::OptionValuePathMappings::SetValueFromString(), lldb_private::OptionValueRegex::SetValueFromString(), lldb_private::OptionValueBoolean::SetValueFromString(), lldb_private::OptionValueFileSpecList::SetValueFromString(), lldb_private::OptionValueFileSpec::SetValueFromString(), lldb_private::OptionValueLanguage::SetValueFromString(), lldb_private::OptionValueEnumeration::SetValueFromString(), lldb_private::OptionValueString::SetValueFromString(), lldb_private::RegisterValue::SetValueFromString(), lldb_private::process_darwin::NativeThreadDarwin::SetWatchpoint(), ShouldLaunchUsingXPC(), CoreSimulatorSupport::Device::Shutdown(), lldb_private::HostProcessPosix::Signal(), lldb_private::process_darwin::NativeProcessDarwin::Signal(), CoreSimulatorSupport::Device::Spawn(), lldb_private::process_gdb_remote::GDBRemoteCommunication::StartDebugserverProcess(), lldb_private::process_gdb_remote::GDBRemoteCommunication::StartListenThread(), lldb_private::process_linux::NativeProcessLinux::StartTrace(), lldb_private::NativeProcessProtocol::StartTrace(), lldb_private::Process::StartTrace(), lldb_private::Thread::StepIn(), lldb_private::Thread::StepOut(), lldb_private::Thread::StepOver(), lldb_private::process_linux::NativeProcessLinux::StopTrace(), lldb_private::File::Sync(), lldb::SBHostOS::ThreadDetach(), lldb_private::OptionArgParser::ToFormat(), lldb_private::OptionArgParser::ToOptionEnum(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::Unlink(), lldb_private::Thread::UnwindInnermostExpression(), lldb_private::ValueObjectChild::UpdateValue(), lldb_private::ValueObjectVariable::UpdateValue(), lldb_private::ValueObject::UpdateValueIfNeeded(), ProcessKDP::WillAttachToProcessWithID(), ProcessKDP::WillAttachToProcessWithName(), ProcessKDP::WillLaunch(), lldb_private::ConnectionFileDescriptor::Write(), lldb_private::File::Write(), lldb_private::Communication::Write(), lldb_private::FileCache::WriteFile(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::WriteFile(), lldb_private::IRMemoryMap::WriteMemory(), lldb_private::process_darwin::NativeProcessDarwin::WriteMemory(), lldb_private::RegisterContextThreadMemory::WriteRegisterValueToMemory(), lldb_private::NativeRegisterContext::WriteRegisterValueToMemory(), lldb_private::RegisterContext::WriteRegisterValueToMemory(), lldb_private::IRMemoryMap::WriteScalarToMemory(), lldb_private::Process::WriteScalarToMemory(), lldb_private::ClangUserExpression::~ClangUserExpression(), lldb_private::process_darwin::NativeProcessDarwin::~NativeProcessDarwin(), lldb_private::StructuredDataDarwinLog::~StructuredDataDarwinLog(), and lldb_private::TargetList::~TargetList().

◆ SetErrorStringWithFormat()

int Status::SetErrorStringWithFormat ( const char *  format,
  ... 
)

Set the current error string to a formatted error string.

Parameters
formatA printf style format string

Definition at line 255 of file Status.cpp.

References m_string, and SetErrorStringWithVarArg().

Referenced by lldb_private::Target::AddNameToBreakpoint(), CommandObjectCommandsAddRegex::AddRegexCommandToInterpreter(), lldb_private::ValueObject::AddressOf(), CommandObjectTypeSynthAdd::AddSynth(), CommandObjectCommandsAddRegex::AppendRegexSubstitution(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::Attach(), lldb::SBTarget::Attach(), lldb_private::Target::Attach(), lldb_private::Process::Attach(), lldb_private::CommandInterpreter::BuildAliasResult(), CheckIfWatchpointsSupported(), lldb_private::FileCache::CloseFile(), CommandObjectTypeFormatList::CommandObjectTypeFormatList(), lldb_private::BreakpointLocation::ConditionSaysStop(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ConfigureRemoteStructuredData(), lldb_private::UDPSocket::Connect(), lldb_private::ConnectionGenericFile::Connect(), lldb_private::ConnectionFileDescriptor::Connect(), lldb_private::platform_android::PlatformAndroidRemoteGDBServer::ConnectProcess(), PlatformAppleSimulator::ConnectRemote(), lldb_private::PlatformWindows::ConnectRemote(), PlatformPOSIX::ConnectRemote(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::ConnectRemote(), lldb_private::Platform::ConnectRemote(), lldb_private::Platform::Create(), lldb_private::Target::CreateBreakpointsFromFile(), lldb_private::BreakpointResolverFileRegex::CreateFromStructuredData(), lldb_private::BreakpointResolverName::CreateFromStructuredData(), lldb_private::BreakpointResolver::CreateFromStructuredData(), lldb_private::BreakpointOptions::CreateFromStructuredData(), lldb_private::Breakpoint::CreateFromStructuredData(), lldb_private::SearchFilter::CreateFromStructuredData(), lldb_private::SearchFilterByModuleList::CreateFromStructuredData(), lldb_private::SearchFilterByModuleListAndCU::CreateFromStructuredData(), lldb_private::OptionGroupPlatform::CreatePlatformWithOptions(), sddarwinlog_private::FilterRule::CreateRule(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::CreateSymlink(), lldb_private::Target::CreateWatchpoint(), lldb_private::Process::DeallocateMemory(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::DebugProcess(), lldb_private::Socket::DecodeHostAndPort(), EntityPersistentVariable::Dematerialize(), EntityVariable::Dematerialize(), EntityResultVariable::Dematerialize(), EntityRegister::Dematerialize(), lldb_private::ValueObject::Dereference(), EntityPersistentVariable::DestroyAllocation(), lldb_private::Process::DisableBreakpointSite(), lldb_private::Process::DisableBreakpointSiteByID(), lldb_private::PlatformWindows::DisconnectRemote(), PlatformPOSIX::DisconnectRemote(), lldb_private::Platform::DisconnectRemote(), ProcessFreeBSD::DoAllocateMemory(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoAllocateMemory(), lldb_private::Process::DoAllocateMemory(), lldb_private::Process::DoAttachToProcessWithID(), ProcessKDP::DoConnectRemote(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoConnectRemote(), ProcessFreeBSD::DoDeallocateMemory(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoDeallocateMemory(), lldb_private::Process::DoDeallocateMemory(), lldb_private::Process::DoDetach(), lldb_private::CommandObjectExpression::DoExecute(), lldb_private::Process::DoHalt(), lldb_private::ProcessWindows::DoLaunch(), ProcessFreeBSD::DoLaunch(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoLaunch(), lldb_private::Process::DoLaunch(), lldb_private::minidump::ProcessMinidump::DoLoadCore(), lldb_private::Process::DoLoadCore(), PlatformPOSIX::DoLoadImage(), ProcessMachCore::DoReadMemory(), ProcessElfCore::DoReadMemory(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoReadMemory(), ProcessKDP::DoResume(), lldb_private::Process::DoResume(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoSignal(), lldb_private::Process::DoSignal(), lldb_private::Platform::DownloadModuleSlice(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoWriteMemory(), lldb_private::Process::DoWriteMemory(), lldb_private::process_gdb_remote::ProcessGDBRemote::EnableBreakpointSite(), lldb_private::Process::EnableBreakpointSite(), lldb_private::Process::EnableBreakpointSiteByID(), lldb_private::Process::EnableSoftwareBreakpoint(), lldb_private::DWARFExpression::Evaluate(), lldb_private::FormatEntity::ExtractVariableInfo(), OptionGroupReadMemory::FinalizeSettings(), lldb_private::Target::FindBreakpointName(), lldb_private::process_gdb_remote::ProcessGDBRemote::FlashDone(), lldb_private::process_gdb_remote::ProcessGDBRemote::FlashErase(), lldb_private::darwin_process_launcher::ForkChildForPTraceDebugging(), lldb_private::IRExecutionUnit::FreeNow(), lldb_private::SymbolContext::GetAddressRangeFromHereToEndLine(), lldb_private::RegisterValue::GetAsMemoryData(), ObjectFileELF::GetBaseAddress(), sddarwinlog_private::EnableOptions::GetBroadcastEvents(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetFilePermissions(), lldb_private::Platform::GetFilePermissions(), lldb_private::Target::GetFunctionCallerForLanguage(), GetMacOSXProcessUserAndGroup(), lldb_private::IRMemoryMap::GetMemoryData(), lldb_private::Module::GetMemoryObjectFile(), lldb_private::UserExpression::GetObjectPointer(), lldb_private::Target::GetREPL(), lldb_private::IRExecutionUnit::GetRunnableInfo(), lldb_private::ModuleList::GetSharedModule(), StringExtractorGDBRemote::GetStatus(), lldb_private::OptionValueArray::GetSubValue(), lldb_private::OptionValueDictionary::GetSubValue(), lldb_private::OptionValue::GetSubValue(), PlatformRemoteDarwinDevice::GetSymbolFile(), PlatformAppleTVSimulator::GetSymbolFile(), PlatformAppleWatchSimulator::GetSymbolFile(), PlatformiOSSimulator::GetSymbolFile(), lldb_private::Target::GetUserExpressionForLanguage(), lldb_private::Target::GetUtilityFunctionForLanguage(), lldb_private::Value::GetValueAsData(), lldb_private::StackFrame::GetValueForVariableExpressionPath(), lldb_private::Variable::GetValuesForVariableExpressionPath(), HandleFileAction(), lldb::SBPlatform::Install(), lldb_private::Platform::Install(), IRInterpreter::Interpret(), lldb_private::Target::Launch(), lldb_private::Process::Launch(), lldb_private::darwin_process_launcher::LaunchInferior(), LaunchInNewTerminalWithAppleScript(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::LaunchProcess(), lldb_private::Platform::LaunchProcess(), LaunchProcessPosixSpawn(), LaunchProcessXPC(), lldb_private::ModuleList::LoadScriptingResourcesInTarget(), EntityPersistentVariable::MakeAllocation(), lldb_private::Platform::MakeDirectory(), lldb_private::UtilityFunction::MakeFunctionCaller(), PlatformPOSIX::MakeLoadImageUtilityFunction(), EntityPersistentVariable::Materialize(), EntityVariable::Materialize(), EntityResultVariable::Materialize(), EntitySymbol::Materialize(), EntityRegister::Materialize(), ELFLinuxPrStatus::Parse(), ELFLinuxSigInfo::Parse(), ELFLinuxPrPsInfo::Parse(), lldb_private::Options::Parse(), ParseEntry(), lldb_private::FormatEntity::ParseInternal(), lldb_private::darwin_process_launcher::PosixSpawnChildForPTraceDebugging(), lldb_private::ClangExpressionParser::PrepareForExecution(), lldb_private::Process::PrivateResume(), lldb::SBPlatform::Put(), lldb_private::MemoryCache::Read(), lldb_private::FileCache::ReadFile(), lldb_private::Platform::ReadFile(), lldb_private::Target::ReadMemory(), lldb_private::Target::ReadMemoryFromFileCache(), ReadRegisterValueAsScalar(), lldb_private::NativeRegisterContext::ReadRegisterValueFromMemory(), lldb_private::RegisterContext::ReadRegisterValueFromMemory(), lldb_private::IRMemoryMap::ReadScalarFromMemory(), lldb_private::Target::ReadScalarIntegerFromMemory(), lldb_private::Process::ReadScalarIntegerFromMemory(), RecurseCopy_Callback(), lldb_private::MainLoop::RegisterReadObject(), lldb_private::MainLoop::RegisterSignal(), ReportInlineAsmError(), PlatformRemoteDarwinDevice::ResolveExecutable(), PlatformPOSIX::ResolveExecutable(), lldb_private::PlatformWindows::ResolveExecutable(), PlatformAppleTVSimulator::ResolveExecutable(), PlatformAppleWatchSimulator::ResolveExecutable(), PlatformiOSSimulator::ResolveExecutable(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::ResolveExecutable(), lldb_private::Platform::ResolveExecutable(), lldb_private::Process::ResolveIndirectFunction(), lldb_private::process_darwin::NativeProcessDarwin::Resume(), lldb_private::Process::ResumeSynchronous(), lldb_private::Thread::ReturnFromFrameWithIndex(), lldb_private::Debugger::RunREPL(), lldb_private::Host::RunShellCommand(), lldb_private::ClangExpressionParser::RunStaticInitializers(), ObjectFileMachO::SaveCore(), SelectHelper::Select(), lldb_private::process_gdb_remote::ProcessGDBRemote::SendEventData(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendGetTraceConfigPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendGetTraceDataPacket(), CommunicationKDP::SendRawRequest(), CommunicationKDP::SendRequestReadMemory(), CommunicationKDP::SendRequestReadRegisters(), CommunicationKDP::SendRequestWriteMemory(), CommunicationKDP::SendRequestWriteRegisters(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendStartTracePacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendStopTracePacket(), lldb_private::Target::SerializeBreakpointsToFile(), lldb_private::OptionValueDictionary::SetArgs(), lldb_private::OptionValueArray::SetArgs(), lldb_private::ValueObject::SetData(), SetErrorWithJSON(), lldb_private::Platform::SetFilePermissions(), lldb_private::RegisterValue::SetFromMemoryData(), lldb::SBDebugger::SetInternalVariable(), lldb_private::OptionGroupArchitecture::SetOptionValue(), lldb_private::OptionGroupUUID::SetOptionValue(), lldb_private::OptionGroupVariable::SetOptionValue(), lldb_private::OptionGroupValueObjectDisplay::SetOptionValue(), lldb_private::OptionGroupOutputFile::SetOptionValue(), lldb_private::OptionGroupWatchpoint::SetOptionValue(), lldb_private::CommandObjectDisassemble::CommandOptions::SetOptionValue(), lldb_private::OptionGroupPlatform::SetOptionValue(), lldb_private::CommandObjectExpression::CommandOptions::SetOptionValue(), lldb_private::OptionGroupFormat::SetOptionValue(), lldb_private::CommandObjectHelp::CommandOptions::SetOptionValue(), CommandObjectCommandsHistory::CommandOptions::SetOptionValue(), CommandObjectFrameDiagnose::CommandOptions::SetOptionValue(), OptionGroupReadMemory::SetOptionValue(), lldb_private::BreakpointOptionGroup::SetOptionValue(), OptionPermissions::SetOptionValue(), CommandObjectLogEnable::CommandOptions::SetOptionValue(), CommandObjectSettingsSet::CommandOptions::SetOptionValue(), OptionGroupDependents::SetOptionValue(), CommandObjectWatchpointList::CommandOptions::SetOptionValue(), lldb_private::ProcessLaunchCommandOptions::SetOptionValue(), BreakpointDummyOptionGroup::SetOptionValue(), CommandObjectCommandsSource::CommandOptions::SetOptionValue(), CommandObjectRegisterRead::CommandOptions::SetOptionValue(), CommandObjectFrameSelect::CommandOptions::SetOptionValue(), CommandObjectThreadBacktrace::CommandOptions::SetOptionValue(), CommandObjectBreakpointCommandAdd::CommandOptions::SetOptionValue(), CommandObjectWatchpointCommandAdd::CommandOptions::SetOptionValue(), CommandObjectProcessAttach::CommandOptions::SetOptionValue(), CommandObjectSettingsWrite::CommandOptions::SetOptionValue(), CommandObjectCommandsAlias::CommandOptions::SetOptionValue(), CommandObjectBreakpointSet::CommandOptions::SetOptionValue(), CommandObjectThreadStepWithTypeAndScope::CommandOptions::SetOptionValue(), CommandObjectSettingsRead::CommandOptions::SetOptionValue(), CommandObjectObjC_ClassTable_Dump::CommandOptions::SetOptionValue(), CommandObjectBreakpointCommandDelete::CommandOptions::SetOptionValue(), sddarwinlog_private::EnableOptions::SetOptionValue(), CommandObjectWatchpointIgnore::CommandOptions::SetOptionValue(), CommandObjectProcessContinue::CommandOptions::SetOptionValue(), CommandObjectPlatformFRead::CommandOptions::SetOptionValue(), CommandObjectWatchpointModify::CommandOptions::SetOptionValue(), CommandObjectProcessDetach::CommandOptions::SetOptionValue(), CommandObjectPlatformFWrite::CommandOptions::SetOptionValue(), CommandObjectTypeFormatterDelete::CommandOptions::SetOptionValue(), CommandObjectProcessConnect::CommandOptions::SetOptionValue(), CommandObjectMemoryFind::OptionGroupFindMemory::SetOptionValue(), CommandObjectProcessLoad::CommandOptions::SetOptionValue(), lldb_private::OptionGroupPlatformRSync::SetOptionValue(), CommandObjectThreadUntil::CommandOptions::SetOptionValue(), lldb_private::OptionGroupPlatformSSH::SetOptionValue(), lldb_private::OptionGroupPlatformCaching::SetOptionValue(), CommandObjectMemoryWrite::OptionGroupWriteMemory::SetOptionValue(), CommandObjectPlatformProcessList::CommandOptions::SetOptionValue(), CommandObjectBreakpointList::CommandOptions::SetOptionValue(), CommandObjectProcessHandle::CommandOptions::SetOptionValue(), CommandObjectCommandsScriptImport::CommandOptions::SetOptionValue(), CommandObjectBreakpointClear::CommandOptions::SetOptionValue(), CommandObjectPlatformProcessAttach::CommandOptions::SetOptionValue(), CommandObjectCommandsScriptAdd::CommandOptions::SetOptionValue(), CommandObjectThreadReturn::CommandOptions::SetOptionValue(), CommandObjectBreakpointDelete::CommandOptions::SetOptionValue(), CommandObjectPlatformShell::CommandOptions::SetOptionValue(), BreakpointNameOptionGroup::SetOptionValue(), BreakpointAccessOptionGroup::SetOptionValue(), CommandObjectThreadPlanList::CommandOptions::SetOptionValue(), CommandObjectTargetModulesDumpSymtab::CommandOptions::SetOptionValue(), CommandObjectBreakpointRead::CommandOptions::SetOptionValue(), CommandObjectBreakpointWrite::CommandOptions::SetOptionValue(), CommandObjectTypeLookup::CommandOptions::SetOptionValue(), CommandObjectTargetModulesShowUnwind::CommandOptions::SetOptionValue(), CommandObjectTargetModulesLookup::CommandOptions::SetOptionValue(), CommandObjectRenderScriptRuntimeReductionBreakpointSet::CommandOptions::SetOptionValue(), CommandObjectRenderScriptRuntimeKernelBreakpointSet::CommandOptions::SetOptionValue(), CommandObjectTargetStopHookAdd::CommandOptions::SetOptionValue(), CommandObjectRenderScriptRuntimeAllocationDump::CommandOptions::SetOptionValue(), CommandObjectRenderScriptRuntimeAllocationList::CommandOptions::SetOptionValue(), ABIMacOSX_arm::SetReturnValueObject(), ABISysV_arm::SetReturnValueObject(), ABIMacOSX_i386::SetReturnValueObject(), ABISysV_s390x::SetReturnValueObject(), ABISysV_mips64::SetReturnValueObject(), ABISysV_arm64::SetReturnValueObject(), ABISysV_ppc64::SetReturnValueObject(), ABISysV_ppc::SetReturnValueObject(), ABISysV_x86_64::SetReturnValueObject(), ABISysV_mips::SetReturnValueObject(), ABISysV_i386::SetReturnValueObject(), ABIMacOSX_arm64::SetReturnValueObject(), lldb_private::OptionValueDictionary::SetSubValue(), lldb_private::OptionValueProperties::SetSubValue(), lldb_private::OptionValue::SetSubValue(), lldb_private::Scalar::SetValueFromCString(), lldb_private::RegisterValue::SetValueFromData(), lldb_private::Scalar::SetValueFromData(), lldb_private::OptionValueFormatEntity::SetValueFromString(), lldb_private::OptionValuePathMappings::SetValueFromString(), lldb_private::OptionValueRegex::SetValueFromString(), lldb_private::OptionValueUUID::SetValueFromString(), lldb_private::OptionValueBoolean::SetValueFromString(), lldb_private::OptionValueChar::SetValueFromString(), lldb_private::OptionValueFileSpecList::SetValueFromString(), lldb_private::OptionValueArch::SetValueFromString(), lldb_private::OptionValueUInt64::SetValueFromString(), lldb_private::OptionValueSInt64::SetValueFromString(), lldb_private::OptionValue::SetValueFromString(), lldb_private::RegisterValue::SetValueFromString(), ShouldLaunchUsingXPC(), lldb_private::process_gdb_remote::GDBRemoteCommunication::StartDebugserverProcess(), lldb_private::BreakpointID::StringIsBreakpointName(), lldb_private::OptionArgParser::ToAddress(), lldb_private::OptionArgParser::ToFormat(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::Unlink(), lldb_private::ValueObjectChild::UpdateValue(), ProcessElfCore::WillResume(), lldb_private::minidump::ProcessMinidump::WillResume(), lldb_private::FileCache::WriteFile(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::WriteFile(), lldb_private::Platform::WriteFile(), lldb_private::NativeRegisterContext::WriteRegisterValueToMemory(), lldb_private::RegisterContext::WriteRegisterValueToMemory(), lldb_private::process_darwin::NativeProcessDarwin::~NativeProcessDarwin(), and lldb_private::TargetList::~TargetList().

◆ SetErrorStringWithFormatv()

template<typename... Args>
void lldb_private::Status::SetErrorStringWithFormatv ( const char *  format,
Args &&...  args 
)
inline

◆ SetErrorStringWithVarArg()

int Status::SetErrorStringWithVarArg ( const char *  format,
va_list  args 
)

◆ SetErrorToErrno()

void Status::SetErrorToErrno ( )

Set the current error to errno.

Update the error value to be errno and update the type to be Status::POSIX.

Definition at line 223 of file Status.cpp.

References lldb::eErrorTypePOSIX, m_code, m_string, and m_type.

Referenced by lldb_private::File::Close(), lldb_private::ConnectionFileDescriptor::Connect(), ProcessFreeBSD::DoDestroy(), ProcessFreeBSD::DoHalt(), ProcessFreeBSD::DoLaunch(), DoReadMemory(), ProcessFreeBSD::DoSignal(), DoWriteMemory(), EnsureFDFlags(), lldb_private::File::Flush(), lldb_private::File::GetFileSpec(), lldb_private::File::GetPermissions(), lldb_private::process_netbsd::NativeProcessNetBSD::Halt(), lldb_private::process_linux::NativeProcessLinux::Halt(), HandleFileAction(), lldb_private::process_netbsd::NativeProcessNetBSD::Kill(), lldb_private::process_linux::NativeProcessLinux::Kill(), lldb_private::process_gdb_remote::ProcessGDBRemote::LaunchAndConnectToDebugserver(), lldb_private::darwin_process_launcher::LaunchInferior(), ProcessMonitor::ProcessMonitor(), lldb_private::process_netbsd::NativeProcessNetBSD::PtraceWrapper(), lldb_private::process_linux::NativeProcessLinux::PtraceWrapper(), ProcessFreeBSD::PutSTDIN(), lldb_private::File::Read(), lldb_private::FileSystem::Readlink(), lldb_private::process_linux::NativeThreadLinux::RemoveHardwareBreakpoint(), lldb_private::FileSystem::ResolveSymbolicLink(), lldb_private::File::SeekFromCurrent(), lldb_private::File::SeekFromEnd(), lldb_private::File::SeekFromStart(), SelectHelper::Select(), lldb_private::Socket::SetLastError(), lldb_private::HostProcessPosix::Signal(), lldb_private::process_netbsd::NativeProcessNetBSD::Signal(), lldb_private::process_linux::NativeProcessLinux::Signal(), lldb_private::FileSystem::Symlink(), lldb_private::File::Sync(), lldb_private::File::Write(), and lldb_private::process_darwin::NativeProcessDarwin::~NativeProcessDarwin().

◆ SetErrorToGenericError()

void Status::SetErrorToGenericError ( )

Set the current error to a generic error.

Update the error value to be LLDB_GENERIC_ERROR and update the type to be Status::Generic.

Definition at line 231 of file Status.cpp.

References lldb::eErrorTypeGeneric, LLDB_GENERIC_ERROR, m_code, m_string, and m_type.

Referenced by lldb_private::Process::AllocateMemory(), IRInterpreter::CanInterpret(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::CreateSymlink(), lldb_private::Materializer::Dematerializer::Dematerialize(), lldb_private::process_gdb_remote::ProcessGDBRemote::DisableBreakpointSite(), lldb_private::process_gdb_remote::ProcessGDBRemote::DisableWatchpoint(), lldb_private::process_gdb_remote::ProcessGDBRemote::EnableWatchpoint(), lldb_private::IRMemoryMap::Free(), lldb_private::IRExecutionUnit::FreeNow(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetFilePermissions(), lldb_private::IRMemoryMap::GetMemoryData(), lldb_private::IRExecutionUnit::GetRunnableInfo(), IRInterpreter::Interpret(), lldb_private::IRMemoryMap::Leak(), lldb_private::IRMemoryMap::Malloc(), lldb_private::Materializer::Materialize(), operator=(), lldb_private::ClangExpressionParser::PrepareForExecution(), ProcessMonitor::ProcessMonitor(), lldb_private::IRMemoryMap::ReadMemory(), lldb_private::IRMemoryMap::ReadScalarFromMemory(), ReportInlineAsmError(), PlatformRemoteDarwinDevice::ResolveExecutable(), PlatformPOSIX::ResolveExecutable(), lldb_private::PlatformWindows::ResolveExecutable(), PlatformAppleWatchSimulator::ResolveExecutable(), PlatformAppleTVSimulator::ResolveExecutable(), PlatformiOSSimulator::ResolveExecutable(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::ResolveExecutable(), SetErrorString(), SetErrorStringWithVarArg(), Status(), lldb_private::File::Sync(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::Unlink(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::WriteFile(), lldb_private::IRMemoryMap::WriteMemory(), lldb_private::Process::WriteMemory(), and lldb_private::IRMemoryMap::WriteScalarToMemory().

◆ SetExpressionError()

void Status::SetExpressionError ( lldb::ExpressionResults  result,
const char *  mssg 
)

Definition at line 191 of file Status.cpp.

References lldb::eErrorTypeExpression, m_code, m_string, and m_type.

Referenced by lldb_private::UserExpression::Evaluate().

◆ SetExpressionErrorWithFormat()

int Status::SetExpressionErrorWithFormat ( lldb::ExpressionResults  result,
const char *  format,
  ... 
)

◆ SetMachError()

void Status::SetMachError ( uint32_t  err)

Set accessor from a kern_return_t.

Set accesssor for the error value to err and the error type to MachKernel.

Parameters
[in]errA mach error code.

Definition at line 185 of file Status.cpp.

References lldb::eErrorTypeMachKernel, m_code, m_string, and m_type.

◆ Success()

bool Status::Success ( ) const

Test for success condition.

Returns true if the error code in this object is considered a successful return value.

Returns
true if this object contains an value that describes success (non-erro), false otherwise.

Definition at line 287 of file Status.cpp.

References m_code.

Referenced by lldb_private::DomainSocket::Accept(), AddPosixSpawnFileAction(), lldb_private::ClangExpressionDeclMap::AddValueToStruct(), AsCString(), InterpreterStackFrame::AssignValue(), lldb_private::process_netbsd::NativeProcessNetBSD::Factory::Attach(), PlatformPOSIX::Attach(), lldb_private::process_linux::NativeProcessLinux::Factory::Attach(), lldb_private::platform_freebsd::PlatformFreeBSD::Attach(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::Attach(), lldb_private::Target::Attach(), lldb_private::Process::Attach(), lldb_private::formatters::BlockPointerSyntheticFrontEnd::BlockPointerSyntheticFrontEnd(), lldb_private::CommandInterpreter::BuildAliasResult(), lldb_private::Process::CallocateMemory(), lldb_private::Process::CanJIT(), lldb_private::Process::ClearBreakpointSiteByID(), lldb_private::FileCache::CloseFile(), lldb_private::ClangUserExpression::Complete(), lldb_private::BreakpointLocation::ConditionSaysStop(), lldb_private::UDPSocket::Connect(), lldb_private::PlatformWindows::ConnectRemote(), PlatformPOSIX::ConnectRemote(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::ConnectRemote(), lldb_private::Process::ConnectRemote(), lldb_private::process_gdb_remote::ProcessGDBRemote::ConnectToDebugserver(), lldb_private::ThreadPlanCallFunction::ConstructorSetup(), lldb_private::RegisterContextLLDB::ConvertRegisterKindToRegisterNumber(), lldb_private::Target::CreateBreakpointsFromFile(), lldb_private::Process::CreateBreakpointSite(), lldb_private::ValueObject::CreateConstantValue(), lldb_private::RenderScriptRuntime::CreateExceptionResolver(), lldb_private::BreakpointResolver::CreateFromStructuredData(), lldb_private::PipeWindows::CreateNew(), lldb_private::RenderScriptRuntime::CreateReductionBreakpoint(), CreateRegionsCacheFromLinuxMaps(), lldb_private::ValueObjectSynthetic::CreateSynthFilter(), lldb::SBDebugger::CreateTarget(), lldb::SBDebugger::CreateTargetWithFileAndArch(), lldb_private::Target::CreateWatchpoint(), lldb_private::PipeWindows::CreateWithUniqueName(), lldb_private::DebuggerThread::DebugAttach(), PlatformAppleSimulator::DebugProcess(), lldb_private::platform_netbsd::PlatformNetBSD::DebugProcess(), lldb_private::platform_linux::PlatformLinux::DebugProcess(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::DebugProcess(), lldb_private::Platform::DebugProcess(), lldb_private::platform_android::AdbClient::DeletePortForwarding(), lldb_private::Materializer::Dematerializer::Dematerialize(), EntityPersistentVariable::Dematerialize(), EntityVariable::Dematerialize(), EntityResultVariable::Dematerialize(), EntityRegister::Dematerialize(), lldb_private::Process::Destroy(), EntityPersistentVariable::DestroyAllocation(), lldb_private::Process::Detach(), lldb_private::process_gdb_remote::ProcessGDBRemote::DisableBreakpointSite(), lldb_private::process_gdb_remote::ProcessGDBRemote::DisableWatchpoint(), lldb_private::Target::DisableWatchpointByID(), lldb_private::platform_android::PlatformAndroid::DisconnectRemote(), ProcessFreeBSD::DoAttachToProcessWithID(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoAttachToProcessWithID(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoAttachToProcessWithName(), ProcessKDP::DoConnectRemote(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoConnectRemote(), ProcessFreeBSD::DoDetach(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoDetach(), ProcessFreeBSD::DoDidExec(), lldb_private::CommandObjectExpression::DoExecute(), lldb_private::LLVMUserExpression::DoExecute(), CommandObjectProcessLaunch::DoExecute(), CommandObjectSettingsSet::DoExecute(), CommandObjectWatchpointList::DoExecute(), CommandObjectSettingsShow::DoExecute(), CommandObjectPlatformDisconnect::DoExecute(), CommandObjectMemoryRead::DoExecute(), CommandObjectSettingsWrite::DoExecute(), CommandObjectPlatformMkDir::DoExecute(), CommandObjectPlatformFOpen::DoExecute(), CommandObjectThreadStepWithTypeAndScope::DoExecute(), CommandObjectProcessContinue::DoExecute(), sddarwinlog_private::EnableCommand::DoExecute(), CommandObjectPlatformGetFile::DoExecute(), CommandObjectThreadContinue::DoExecute(), CommandObjectProcessKDPPacketSend::DoExecute(), CommandObjectPlatformProcessLaunch::DoExecute(), CommandObjectCommandsAddRegex::DoExecute(), CommandObjectThreadUntil::DoExecute(), CommandObjectThreadReturn::DoExecute(), CommandObjectMemoryRegion::DoExecute(), CommandObjectPlatformInstall::DoExecute(), CommandObjectBreakpointRead::DoExecute(), CommandObjectBreakpointWrite::DoExecute(), ProcessFreeBSD::DoLaunch(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoLaunch(), PlatformPOSIX::DoLoadImage(), RegisterContextKDP_arm::DoReadDBG(), RegisterContextKDP_arm64::DoReadDBG(), RegisterContextKDP_i386::DoReadEXC(), RegisterContextKDP_x86_64::DoReadEXC(), RegisterContextKDP_arm::DoReadEXC(), RegisterContextKDP_arm64::DoReadEXC(), RegisterContextKDP_i386::DoReadFPU(), RegisterContextKDP_x86_64::DoReadFPU(), RegisterContextKDP_arm::DoReadFPU(), RegisterContextKDP_arm64::DoReadFPU(), RegisterContextKDP_i386::DoReadGPR(), RegisterContextKDP_x86_64::DoReadGPR(), RegisterContextKDP_arm::DoReadGPR(), RegisterContextKDP_arm64::DoReadGPR(), lldb_private::process_linux::NativeRegisterContextLinux::DoReadRegisterValue(), RegisterContextKDP_arm::DoWriteDBG(), RegisterContextKDP_arm64::DoWriteDBG(), RegisterContextKDP_i386::DoWriteEXC(), RegisterContextKDP_x86_64::DoWriteEXC(), RegisterContextKDP_arm::DoWriteEXC(), RegisterContextKDP_arm64::DoWriteEXC(), RegisterContextKDP_i386::DoWriteFPU(), RegisterContextKDP_x86_64::DoWriteFPU(), RegisterContextKDP_arm::DoWriteFPU(), RegisterContextKDP_arm64::DoWriteFPU(), RegisterContextKDP_i386::DoWriteGPR(), RegisterContextKDP_x86_64::DoWriteGPR(), RegisterContextKDP_arm::DoWriteGPR(), RegisterContextKDP_arm64::DoWriteGPR(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoWriteMemory(), lldb::DumpProcessGDBRemotePacketHistory(), EntityPersistentVariable::DumpToLog(), EntityVariable::DumpToLog(), EntityResultVariable::DumpToLog(), EntitySymbol::DumpToLog(), EntityRegister::DumpToLog(), lldb_private::process_gdb_remote::ProcessGDBRemote::EnableWatchpoint(), lldb_private::Target::EnableWatchpointByID(), InterpreterStackFrame::EvaluateValue(), lldb_private::ScriptInterpreterPythonImpl::ExecuteOneLine(), lldb_private::LLVMUserExpression::FinalizeJITExecution(), lldb_private::BreakpointIDList::FindAndReplaceIDRanges(), lldb_private::SymbolContext::FindBestGlobalDataSymbol(), lldb_private::Target::FindBreakpointName(), lldb_private::ClangExpressionDeclMap::FindExternalVisibleDecls(), FindUnusedPort(), lldb_private::process_gdb_remote::ProcessGDBRemote::FlashErase(), lldb_private::FormatEntity::FormatCString(), lldb_private::TypeFormatImpl_Format::FormatObject(), lldb_private::FormatEntity::FormatStringRef(), lldb_private::IRExecutionUnit::FreeNow(), lldb_private::ScriptInterpreterPythonImpl::GenerateBreakpointCommandCallbackData(), lldb_private::ScriptInterpreterPythonImpl::GenerateTypeSynthClass(), sddarwinlog_private::EnableOptions::GetBroadcastEvents(), lldb_private::Platform::GetCachedExecutable(), lldb_private::Address::GetCallableLoadAddress(), lldb_private::formatters::BlockPointerSyntheticFrontEnd::GetChildAtIndex(), GetClassDataMask(), lldb_private::AppleGetQueuesHandler::GetCurrentQueues(), lldb::SBValue::GetData(), lldb_private::ThreadPlanStepInstruction::GetDescription(), lldb_private::ThreadPlanStepOverRange::GetDescription(), lldb_private::ThreadPlanStepInRange::GetDescription(), PlatformDarwin::GetDeveloperDirectory(), lldb_private::ItaniumABILanguageRuntime::GetDynamicTypeAndAddress(), lldb_private::ItaniumABILanguageRuntime::GetExceptionObjectForThread(), SystemRuntimeMacOSX::GetExtendedBacktraceForQueueItem(), SystemRuntimeMacOSX::GetExtendedBacktraceThread(), PlatformPOSIX::GetFile(), lldb_private::StackFrame::GetFrameBaseValue(), ObjectFileELF::GetImageInfoAddress(), lldb_private::InstructionList::GetIndexOfNextBranchInstruction(), lldb_private::ClassDescriptorV2::GetInstanceSize(), lldb_private::AppleGetItemInfoHandler::GetItemInfo(), SystemRuntimeMacOSX::GetLibdispatchQueueAddressFromThreadQAddress(), lldb_private::platform_android::PlatformAndroid::GetLibdlFunctionDeclarations(), lldb_private::DynamicLoaderWindowsDYLD::GetLoadAddress(), lldb_private::Process::GetLoadAddressPermissions(), lldb_private::HostProcessPosix::GetMainModule(), lldb_private::IRMemoryMap::GetMemoryData(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), GetModuleSpecInfoFromUUIDDictionary(), lldb_private::UserExpression::GetObjectPointer(), lldb_private::AppleGetPendingItemsHandler::GetPendingItems(), lldb_private::ValueObject::GetPointeeData(), SystemRuntimeMacOSX::GetQueueIDFromThreadQAddress(), SystemRuntimeMacOSX::GetQueueKind(), SystemRuntimeMacOSX::GetQueueNameFromThreadQAddress(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetQXferMemoryMapRegionInfo(), lldb_private::Target::GetREPL(), lldb_private::IRExecutionUnit::GetRunnableInfo(), PlatformRemoteDarwinDevice::GetSharedModule(), PlatformAppleTVSimulator::GetSharedModule(), PlatformAppleWatchSimulator::GetSharedModule(), PlatformiOSSimulator::GetSharedModule(), lldb_private::Platform::GetSharedModule(), lldb_private::IRExecutionUnit::GetStaticInitializers(), lldb_private::DynamicLoaderDarwin::GetStepThroughTrampolinePlan(), lldb_private::platform_android::AdbClient::GetSyncService(), lldb_private::AppleGetThreadItemInfoHandler::GetThreadItemInfo(), lldb_private::Value::GetValueByteSize(), lldb_private::Variable::GetValuesForVariableExpressionPath(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetWatchpointSupportInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_A(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qLaunchSuccess(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_QPassSignals(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_pRead(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_pWrite(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_Z(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_z(), lldb_private::Debugger::HandleProcessEvent(), lldb_private::ClangUtilityFunction::Install(), lldb_private::Platform::Install(), lldb_private::Target::Install(), IRInterpreter::Interpret(), IOHandlerProcessSTDIO::Interrupt(), lldb_private::ConnectionFileDescriptor::InterruptRead(), lldb_private::REPL::IOHandlerInputComplete(), lldb_private::ScriptInterpreterPythonImpl::IOHandlerInputComplete(), IsInputPending(), lldb_private::HostProcessPosix::IsRunning(), lldb_private::RegisterContextLLDB::IsTrapHandlerFrame(), lldb_private::Communication::JoinReadThread(), lldb_private::Target::Launch(), lldb_private::Process::Launch(), lldb_private::process_gdb_remote::ProcessGDBRemote::LaunchAndConnectToDebugserver(), lldb_private::darwin_process_launcher::LaunchInferior(), LaunchInNewTerminalWithAppleScript(), lldb_private::MonitoringProcessLauncher::LaunchProcess(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerPlatform::LaunchProcess(), lldb_private::ThreadLauncher::LaunchThread(), lldb_private::formatters::LibcxxSmartPointerSummaryProvider(), lldb_private::formatters::LibStdcppSmartPointerSummaryProvider(), lldb_private::RenderScriptRuntime::LoadAllocation(), lldb_private::Process::LoadCore(), lldb_private::RenderScriptRuntime::LoadModule(), lldb_private::DynamicLoader::LoadModuleAtAddress(), lldb_private::ThreadPlanAssemblyTracer::Log(), EntityPersistentVariable::MakeAllocation(), InterpreterStackFrame::MakeArgument(), lldb_private::platform_android::PlatformAndroidRemoteGDBServer::MakeConnectURL(), lldb_private::IRMemoryMap::Malloc(), lldb_private::Materializer::Materialize(), EntityPersistentVariable::Materialize(), EntityVariable::Materialize(), EntityResultVariable::Materialize(), EntitySymbol::Materialize(), lldb_private::formatters::NSMachPortSummaryProvider(), lldb_private::ConnectionFileDescriptor::OpenCommandPipe(), RemoteNXMapTable::const_iterator::operator*(), lldb_private::OptionValueFormatEntity::OptionValueFormatEntity(), lldb_private::ClangExpressionParser::Parse(), lldb_private::ClangUserExpression::Parse(), sddarwinlog_private::ParseAutoEnableOptions(), lldb_private::FormatEntity::ParseInternal(), lldb_private::CommandObject::ParseOptions(), lldb_private::StopInfoBreakpoint::PerformAction(), SystemRuntimeMacOSX::PopulateQueueList(), SystemRuntimeMacOSX::PopulateQueuesUsingLibBTR(), lldb_private::darwin_process_launcher::PosixSpawnChildForPTraceDebugging(), lldb_private::LLVMUserExpression::PrepareToExecuteJITExpression(), InterpreterStackFrame::PrintData(), lldb_private::Process::PrivateResume(), ProcessMonitor::ProcessMonitor(), lldb_private::File::Read(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ReadExtFeature(), DynamicLoaderMacOSXDYLD::ReadImageInfos(), lldb_private::IRMemoryMap::ReadMemory(), lldb_private::Target::ReadMemory(), lldb_private::Process::ReadMemory(), ReadMemoryCallback(), lldb_private::IRMemoryMap::ReadPointerFromMemory(), RegisterContextCorePOSIX_x86_64::ReadRegister(), RegisterContextMemory::ReadRegister(), lldb_private::minidump::RegisterContextMinidump_ARM64::ReadRegister(), lldb_private::minidump::RegisterContextMinidump_ARM::ReadRegister(), lldb_private::process_gdb_remote::GDBRemoteRegisterContext::ReadRegister(), lldb_private::NativeRegisterContext::ReadRegisterAsUnsigned(), ReadRegisterCallback(), lldb_private::RegisterContext::ReadRegisterValueFromMemory(), lldb_private::IRMemoryMap::ReadScalarFromMemory(), lldb_private::Process::ReadStringFromMemory(), lldb_private::process_darwin::MachException::Message::Reply(), ReportInlineAsmError(), InterpreterStackFrame::ResolveConstant(), PlatformRemoteDarwinDevice::ResolveExecutable(), PlatformPOSIX::ResolveExecutable(), lldb_private::PlatformWindows::ResolveExecutable(), PlatformAppleTVSimulator::ResolveExecutable(), PlatformAppleWatchSimulator::ResolveExecutable(), PlatformiOSSimulator::ResolveExecutable(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::ResolveExecutable(), lldb_private::Platform::ResolveExecutable(), lldb_private::Value::ResolveValue(), lldb_private::process_darwin::MachException::PortInfo::Restore(), lldb_private::process_netbsd::NativeProcessNetBSD::Resume(), lldb_private::Process::Resume(), lldb_private::Process::ResumeSynchronous(), lldb_private::Thread::ReturnFromFrame(), IOHandlerProcessSTDIO::Run(), lldb_private::REPL::RunLoop(), lldb_private::Debugger::RunREPL(), RunScriptFormatKeyword(), lldb_private::Host::RunShellCommand(), lldb_private::Process::RunThreadPlan(), lldb::SBThread::RunToAddress(), lldb_private::process_darwin::MachException::PortInfo::Save(), lldb_private::RenderScriptRuntime::SaveAllocation(), ObjectFileMachO::SaveCore(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendStopReplyPacketForThread(), lldb_private::Target::SerializeBreakpointsToFile(), lldb_private::ScriptInterpreterPythonImpl::SetBreakpointCommandCallback(), lldb_private::ScriptInterpreter::SetBreakpointCommandCallback(), lldb_private::ValueObjectRegister::SetData(), lldb::SBValue::SetData(), lldb_private::ValueObject::SetData(), SetErrorString(), SetErrorStringWithVarArg(), lldb_private::NativeProcessProtocol::SetHardwareBreakpoint(), lldb_private::OptionGroupUUID::SetOptionValue(), lldb_private::OptionGroupValueObjectDisplay::SetOptionValue(), lldb_private::OptionGroupWatchpoint::SetOptionValue(), lldb_private::CommandObjectExpression::CommandOptions::SetOptionValue(), OptionGroupDependents::SetOptionValue(), CommandObjectBreakpointSet::CommandOptions::SetOptionValue(), CommandObjectThreadUntil::CommandOptions::SetOptionValue(), CommandObjectCommandsScriptAdd::CommandOptions::SetOptionValue(), BreakpointNameOptionGroup::SetOptionValue(), lldb_private::OptionValueProperties::SetPropertyAtIndexFromArgs(), lldb_private::Debugger::SetPropertyValue(), ABISysV_arm64::SetReturnValueObject(), ABIMacOSX_arm64::SetReturnValueObject(), lldb_private::ValueObjectRegister::SetValueFromCString(), lldb_private::ValueObject::SetValueFromCString(), lldb_private::OptionValueFormatEntity::SetValueFromString(), lldb_private::OptionValueFormat::SetValueFromString(), lldb_private::NativeProcessProtocol::SetWatchpoint(), ShouldLaunchUsingXPC(), lldb_private::ThreadPlanStepOverRange::ShouldStop(), lldb_private::AppleThreadPlanStepThroughObjCTrampoline::ShouldStop(), lldb_private::Process::Signal(), lldb_private::process_gdb_remote::GDBRemoteCommunication::StartDebugserverProcess(), lldb::SBThread::StepInstruction(), lldb::SBThread::StepInto(), lldb::SBThread::StepOut(), lldb::SBThread::StepOutOfFrame(), lldb::SBThread::StepOverUntil(), lldb::SBThread::StepUsingScriptedThreadPlan(), lldb_private::DebuggerThread::StopDebugging(), lldb_private::Communication::StopReadThread(), SupportsCxxModuleImport(), lldb_private::Socket::TcpConnect(), lldb_private::Socket::TcpListen(), lldb::SBHostOS::ThreadCancel(), lldb::SBHostOS::ThreadDetach(), lldb::SBHostOS::ThreadJoin(), ToError(), translate_to_eh_frame_regnum_i386(), translate_to_eh_frame_regnum_x86_64(), lldb_private::Socket::UnixAbstractConnect(), lldb_private::Socket::UnixDomainConnect(), lldb_private::process_gdb_remote::ProcessGDBRemote::UpdateAutomaticSignalFiltering(), DYLDRendezvous::UpdateBaseAddrIfNecessary(), updateSectionLoadAddress(), lldb_private::ValueObjectCast::UpdateValue(), lldb_private::ValueObjectChild::UpdateValue(), lldb_private::ValueObjectMemory::UpdateValue(), lldb_private::ValueObjectVariable::UpdateValue(), lldb_private::ValueObject::UpdateValueIfNeeded(), lldb_private::IRMemoryMap::WriteMemory(), lldb_private::Process::WriteMemory(), lldb_private::IRExecutionUnit::WriteNow(), lldb_private::process_gdb_remote::ProcessGDBRemote::WriteObjectFile(), lldb_private::Process::WriteObjectFile(), RegisterContextPOSIXProcessMonitor_arm::WriteRegister(), RegisterContextPOSIXProcessMonitor_arm64::WriteRegister(), RegisterContextPOSIXProcessMonitor_x86_64::WriteRegister(), RegisterContextPOSIXProcessMonitor_mips64::WriteRegister(), RegisterContextPOSIXProcessMonitor_powerpc::WriteRegister(), RegisterContextMemory::WriteRegister(), lldb_private::process_linux::NativeRegisterContextLinux::WriteRegisterRaw(), WriteRegisterValueInHexFixedWidth(), lldb_private::NativeRegisterContext::WriteRegisterValueToMemory(), lldb_private::RegisterContext::WriteRegisterValueToMemory(), lldb_private::AppleObjCTrampolineHandler::~AppleObjCTrampolineHandler(), lldb_private::IRMemoryMap::~IRMemoryMap(), lldb_private::process_darwin::NativeProcessDarwin::~NativeProcessDarwin(), lldb_private::StructuredDataDarwinLog::~StructuredDataDarwinLog(), and lldb_private::platform_android::AdbClient::SyncService::~SyncService().

◆ ToError()

llvm::Error Status::ToError ( ) const

◆ WasInterrupted()

bool Status::WasInterrupted ( ) const

Test for a failure due to a generic interrupt.

Returns true if the error code in this object was caused by an interrupt. At present only supports Posix EINTR.

Returns
true if this object contains an value that describes failure due to interrupt, false otherwise.

Definition at line 289 of file Status.cpp.

References lldb::eErrorTypePOSIX, m_code, and m_type.

Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::ConnectToDebugserver().

Member Data Documentation

◆ m_code

ValueType lldb_private::Status::m_code
protected

◆ m_string

std::string lldb_private::Status::m_string
mutableprotected

◆ m_type

lldb::ErrorType lldb_private::Status::m_type
protected

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