LLDB mainline
LLDBAssert.h File Reference
#include "llvm/ADT/StringRef.h"
#include <mutex>

Go to the source code of this file.

Namespaces

namespace  lldb_private
 A class that represents a running process on the host machine.

Macros

#define lldbassert(x)

Typedefs

typedef void(* lldb_private::LLDBAssertCallback) (llvm::StringRef message, llvm::StringRef backtrace, llvm::StringRef prompt)
 The default LLDB assert callback, which prints to stderr.

Functions

void lldb_private::_lldb_assert (bool expression, const char *expr_text, const char *func, const char *file, unsigned int line, std::once_flag &once_flag)
 Don't use _lldb_assert directly.
void lldb_private::SetLLDBAssertCallback (LLDBAssertCallback callback)
 Replace the LLDB assert callback.

Macro Definition Documentation

◆ lldbassert

#define lldbassert ( x)
Value:
assert(x)

Definition at line 16 of file LLDBAssert.h.

Referenced by lldb_private::CommandInterpreter::AddAlias(), lldb_private::CommandInterpreter::AddCommand(), lldb_private::CompletionRequest::AddCompletions(), lldb_private::TypeSystemClang::AddEnumerationValueToEnumerationType(), PDBASTParser::AddRecordBases(), lldb_private::TargetList::AddTargetInternal(), lldb_private::CommandInterpreter::AddUserCommand(), lldb_private::ClangASTImporter::ASTImporterDelegate::ASTImporterDelegate(), lldb_private::npdb::PdbIndex::BuildAddrToSymbolMap(), SymbolFilePDB::CalculateNumCompileUnits(), lldb_private::ScriptedFrame::CheckInterpreterAndScriptObject(), lldb_private::ScriptedThread::CheckInterpreterAndScriptObject(), lldb_private::ScriptedProcess::CheckScriptedInterface(), lldb_private::ClangExpressionParser::ClangExpressionParser(), lldb_private::npdb::PdbAstBuilder::CompleteTagDecl(), lldb_private::npdb::UdtRecordCompleter::Record::ConstructRecord(), lldb_private::npdb::PdbIndex::create(), lldb_private::npdb::SymbolFileNativePDB::CreateBlock(), lldb_private::npdb::SymbolFileNativePDB::CreateFunction(), lldb_private::npdb::PdbAstBuilder::CreateFunctionDeclFromId(), lldb_private::npdb::PdbAstBuilder::CreateFunctionParameters(), lldb_private::TypeSystemClang::CreateFunctionType(), lldb_private::minidump::ProcessMinidump::CreateInstance(), PDBASTParser::CreateLLDBTypeFromPDBType(), lldb_private::OptionValueProperties::CreateLocalCopy(), lldb_private::npdb::PdbAstBuilder::CreateRecordType(), lldb_private::TypeSystemClang::CreateStructForIdentifier(), lldb_private::npdb::SymbolFileNativePDB::CreateTypedef(), lldb_private::StoppointHitCounter::Decrement(), lldb_private::OptionValueArray::DeepCopy(), lldb_private::OptionValueDictionary::DeepCopy(), lldb_private::OptionValueProperties::DeepCopy(), lldb_private::ScriptedProcess::DoUpdateThreadList(), lldb_private::plugin::dwarf::DWARFUnit::ExtractDIEsRWLocked(), lldb_private::plugin::dwarf::DWARFUnit::ExtractDIEsScoped(), lldb_private::npdb::SymbolFileNativePDB::FindFunctions(), SymbolFilePDB::FindFunctions(), SymbolFilePDB::FindGlobalVariables(), SymbolFilePDB::FindGlobalVariables(), lldb_private::IRMemoryMap::FindSpace(), lldb_private::npdb::SymbolFileNativePDB::FindSymbolScope(), lldb_private::CommandInterpreter::FinishHandlingCommand(), lldb_private::Editline::GetCharacter(), lldb_private::formatters::NSCFDictionarySyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::NSCFSetSyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::NSSetISyntheticFrontEnd::GetChildAtIndex(), GetCompilerTypeForFormat(), GetCoroFramePtrFromHandle(), GetCorrespondingFrameData(), lldb_private::Editline::GetLine(), SymbolFilePDB::GetMangledForPDBFunc(), lldb_private::DataExtractor::GetMaxU32(), lldb_private::DataExtractor::GetMaxU64(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::GetModuleInfo(), lldb_private::npdb::SymbolFileNativePDB::GetOrCreateCompileUnit(), lldb_private::npdb::PdbAstBuilder::GetOrCreateFunctionDecl(), lldb_private::npdb::PdbAstBuilder::GetOrCreateInlinedFunctionDecl(), lldb_private::npdb::PdbAstBuilder::GetOrCreateType(), lldb_private::npdb::PdbAstBuilder::GetOrCreateTypedefDecl(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::GetOSOIndexFromUserID(), GetPrintableImpl< StringElementType::ASCII >(), GetPrintableImpl< StringElementType::UTF8 >(), lldb_private::ClusterManager< ValueObject >::GetSharedPointer(), lldb_private::IRExecutionUnit::GetStaticInitializers(), lldb_private::npdb::GetVariableLocationInfo(), lldb_private::StoppointHitCounter::Increment(), lldb_private::Diagnostics::Initialize(), lldb_private::FileSystem::Initialize(), SymbolFilePDB::InitializeObject(), lldb_private::BreakpointSite::IntersectsRange(), lldb_private::BreakpointSite::IsHardware(), lldb_private::Watchpoint::IsHardware(), lldb_private::ScriptedThread::LoadArtificialStackFrames(), lldb_private::CommandObjectMultiword::LoadSubCommand(), lldb_private::CommandObjectMultiword::LoadUserSubcommand(), lldb_private::process_gdb_remote::GDBRemoteClientBase::ContinueLock::lock(), lldb_private::ModuleListProperties::ModuleListProperties(), DeclContextOverride::Override(), lldb_private::npdb::PdbAstBuilder::ParseBlockChildren(), lldb_private::breakpad::SymbolFileBreakpad::ParseBlocksRecursive(), lldb_private::plugin::dwarf::SymbolFileDWARF::ParseBlocksRecursive(), lldb_private::npdb::SymbolFileNativePDB::ParseCompileUnitAtIndex(), SymbolFilePDB::ParseCompileUnitForUID(), lldb_private::npdb::PdbAstBuilder::ParseDeclsForSimpleContext(), ParseExtendedInfo(), lldb_private::npdb::SymbolFileNativePDB::ParseFunctions(), lldb_private::npdb::SymbolFileNativePDB::ParseLanguage(), lldb_private::npdb::SymbolFileNativePDB::ParseLineTable(), DWARFASTParserClang::ParseSubroutine(), lldb_private::npdb::SymbolFileNativePDB::ParseSupportFiles(), ObjectFileMachO::ParseSymtab(), lldb_private::npdb::SymbolFileNativePDB::ParseVariablesForBlock(), lldb_private::npdb::SymbolFileNativePDB::ParseVariablesForCompileUnit(), lldb_private::npdb::SymbolFileNativePDB::ParseVariablesForContext(), ReadJITEntry(), lldb_private::npdb::PdbIndex::ReadSymbolRecord(), lldb_private::ASTResultSynthesizer::RecordPersistentDecl(), lldb_private::minidump::RegisterContextMinidump_ARM::RegisterContextMinidump_ARM(), lldb_private::TypeSystemClang::RequireCompleteType(), lldb_private::CommandInterpreter::ResolveCommandImpl(), lldb_private::npdb::SymbolFileNativePDB::ResolveTypeUID(), SelectHelper::Select(), lldb_private::plugin::dwarf::DWARFUnit::SetRangesBase(), lldb_private::Target::SetREPL(), lldb_private::TargetList::SetSelectedTargetInternal(), lldb_private::process_freebsd::NativeThreadFreeBSD::SetStoppedByWatchpoint(), lldb_private::process_linux::NativeThreadLinux::SetStoppedByWatchpoint(), lldb_private::process_netbsd::NativeThreadNetBSD::SetStoppedByWatchpoint(), lldb_private::Module::SetUUID(), lldb_private::CommandInterpreter::StartHandlingCommand(), TemplateParameterAllowsValue(), lldb_private::Diagnostics::Terminate(), lldb_private::FileSystem::Terminate(), TranslateRecordKind(), TranslateUdtKind(), lldb_private::process_gdb_remote::GDBRemoteClientBase::ContinueLock::unlock(), and lldb_private::CommandInterpreter::WasInterrupted().