Home
last modified time | relevance | path

Searched refs:lldbassert (Results 1 – 25 of 65) sorted by relevance

123

/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DLLDBAssert.h13 #define lldbassert(x) assert(x) macro
15 #define lldbassert(x) \ macro
H A DSharedCluster.h44 lldbassert(false && "object not found in shared cluster when expected"); in GetSharedPointer()
H A DCompletionRequest.h211 lldbassert(completions.GetSize() == descriptions.GetSize()); in AddCompletions()
/llvm-project-15.0.7/lldb/include/lldb/Breakpoint/
H A DStoppointHitCounter.h25 lldbassert(std::numeric_limits<uint32_t>::max() - m_hit_count >= difference);
30 lldbassert(m_hit_count >= difference);
H A DBreakpointSite.h187 lldbassert(BreakpointSite::Type::eHardware == GetType() || in IsHardware()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/
H A DSymbolFileNativePDB.cpp315 lldbassert(clang); in InitializeObject()
360 lldbassert(block.Parent != 0); in CreateBlock()
404 lldbassert(cci); in CreateFunction()
933 lldbassert(index < UINT16_MAX); in ParseCompileUnitAtIndex()
949 lldbassert(item); in ParseLanguage()
977 lldbassert(new_count >= count); in ParseFunctions()
1011 lldbassert(sc.comp_unit); in ResolveSymbolContext()
1047 lldbassert(sc.comp_unit); in ResolveSymbolContext()
1090 lldbassert(cii); in ParseLineTable()
1276 lldbassert(cci); in ParseSupportFiles()
[all …]
H A DPdbAstBuilder.cpp163 lldbassert(false && "Invalid tag record kind!"); in TranslateUdtKind()
461 lldbassert(!nodes.empty()); in RenderScopeList()
481 lldbassert(s1.kind() == S_PUB32); in FindPublicSym()
491 lldbassert(sym.kind() == S_PUB32); in FindPublicSym()
751 lldbassert(IsTagRecord(cvt)); in CompleteTagDecl()
911 lldbassert(ct.IsValid()); in CreateRecordType()
1006 lldbassert(sym.kind() == S_UDT); in GetOrCreateTypedefDecl()
1115 lldbassert(m_decl_to_status.count(tag) == 0); in GetOrCreateType()
1231 lldbassert(func_tid.is_ipi); in CreateFunctionDeclFromId()
1611 lldbassert(decl); in ParseDeclsForSimpleContext()
[all …]
H A DPdbIndex.cpp43 lldbassert(file); in create()
116 lldbassert(cci.m_symbols_by_va.empty() && in BuildAddrToSymbolMap()
189 lldbassert(iter != cci->m_debug_stream.getSymbolArray().end()); in ReadSymbolRecord()
H A DCompileUnitIndex.cpp84 lldbassert(!item.m_obj_name); in ParseExtendedInfo()
85 lldbassert(!item.m_compile_opts); in ParseExtendedInfo()
86 lldbassert(item.m_build_info.empty()); in ParseExtendedInfo()
H A DPdbUtil.cpp151 lldbassert(false && "Invalid symbol record kind!"); in CVSymToPDBSym()
180 lldbassert(false && "Invalid type record kind!"); in CVTypeToPDBType()
311 lldbassert(false && "Record does not have a segment/offset!"); in GetSegmentAndOffset()
365 lldbassert(false && "Record does not have a segment/offset/length triple!"); in GetSegmentOffsetAndLength()
467 lldbassert(modifier.kind() == LF_MODIFIER); in LookThroughModifierRecord()
530 lldbassert(false && "Invalid variable record kind!"); in GetVariableNameInfo()
538 lldbassert(!ranges.IsEmpty()); in GetCorrespondingFrameData()
648 lldbassert(func_block_cvs.kind() == S_GPROC32 || in GetVariableLocationInfo()
/llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteClientBase.cpp301 lldbassert(m_acquired); in unlock()
316 lldbassert(!m_acquired); in lock()
329 lldbassert(!m_comm.m_is_running); in lock()
/llvm-project-15.0.7/lldb/source/Plugins/Process/scripted/
H A DScriptedProcess.cpp49 lldbassert(m_interpreter && "Invalid Script Interpreter."); in CheckInterpreterAndScriptObject()
50 lldbassert(m_script_object_sp && "Invalid Script Object."); in CheckInterpreterAndScriptObject()
362 lldbassert(thread_sp && "Couldn't initialize scripted thread."); in DoUpdateThreadList()
H A DScriptedThread.cpp25 lldbassert(m_script_object_sp && "Invalid Script Object."); in CheckInterpreterAndScriptObject()
26 lldbassert(GetInterface() && "Invalid Scripted Thread Interface."); in CheckInterpreterAndScriptObject()
/llvm-project-15.0.7/lldb/source/Utility/
H A DReproducer.cpp27 lldbassert(!InstanceImpl() && "Already initialized."); in Initialize()
61 lldbassert(InstanceImpl() && "Already terminated."); in Terminate()
H A DSelectHelper.cpp98 lldbassert(m_fd_map.size() <= FD_SETSIZE); in Select()
111 lldbassert(fd < static_cast<int>(FD_SETSIZE)); in Select()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/PDB/
H A DSymbolFilePDB.cpp199 lldbassert(obj_load_address && obj_load_address != LLDB_INVALID_ADDRESS); in InitializeObject()
203 lldbassert(m_global_scope_up.get()); in InitializeObject()
225 lldbassert(last_compiland_up.get()); in CalculateNumCompileUnits()
752 lldbassert(sc.module_sp == cu_sp->GetModule()); in ResolveSymbolContext()
857 lldbassert(line_table); in ResolveSymbolContext()
1133 lldbassert(sc.module_sp.get()); in FindGlobalVariables()
1176 lldbassert(sc.module_sp.get()); in FindGlobalVariables()
1313 lldbassert((name_type_mask & eFunctionNameTypeAuto) == 0); in FindFunctions()
1759 lldbassert(index != UINT32_MAX); in ParseCompileUnitForUID()
1928 lldbassert(result_up->getChildCount() == 1); in GetMangledForPDBFunc()
/llvm-project-15.0.7/lldb/source/Host/common/
H A DFileSystem.cpp49 lldbassert(!InstanceImpl() && "Already initialized."); in Initialize()
54 lldbassert(!InstanceImpl() && "Already initialized."); in Initialize()
59 lldbassert(InstanceImpl() && "Already terminated."); in Terminate()
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandObjectMultiword.cpp83 lldbassert((&GetCommandInterpreter() == &cmd_obj_sp->GetCommandInterpreter()) && in LoadSubCommand()
102 lldbassert((&GetCommandInterpreter() == &cmd_obj_sp->GetCommandInterpreter()) && in LoadUserSubcommand()
/llvm-project-15.0.7/lldb/source/DataFormatters/
H A DStringPrinter.cpp164 lldbassert(escaped_len > 0 && "unknown string escape style"); in GetPrintableImpl()
211 lldbassert(escaped_len > 0 && "unknown string escape style"); in GetPrintableImpl()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/
H A DNameToDIE.cpp52 lldbassert(!s_unit.GetSymbolFileDWARF().GetDwoNum()); in FindAllEntriesForUnit()
H A DAppleDWARFIndex.cpp83 lldbassert(!cu.GetSymbolFileDWARF().GetDwoNum()); in GetGlobalVariables()
/llvm-project-15.0.7/lldb/source/Breakpoint/
H A DBreakpointSite.cpp164 lldbassert(GetType() == Type::eSoftware); in IntersectsRange()
/llvm-project-15.0.7/lldb/source/Interpreter/
H A DCommandInterpreter.cpp1103 lldbassert((this == &cmd_sp->GetCommandInterpreter()) && in AddCommand()
1128 lldbassert((this == &cmd_sp->GetCommandInterpreter()) && in AddUserCommand()
1333 lldbassert((this == &command_obj_sp->GetCommandInterpreter()) && in AddAlias()
2958 lldbassert(m_iohandler_nesting_level == 0); in StartHandlingCommand()
2960 lldbassert(m_iohandler_nesting_level > 0); in StartHandlingCommand()
2965 lldbassert(m_iohandler_nesting_level > 0); in FinishHandlingCommand()
2968 lldbassert(prev_state != CommandHandlingState::eIdle); in FinishHandlingCommand()
2981 lldbassert(!was_interrupted || m_iohandler_nesting_level > 0); in WasInterrupted()
3407 lldbassert(num_matches == 0); in ResolveCommandImpl()
/llvm-project-15.0.7/lldb/source/Target/
H A DTargetList.cpp512 lldbassert(!llvm::is_contained(m_target_list, target_sp) && in AddTargetInternal()
520 lldbassert(!m_target_list.empty()); in SetSelectedTargetInternal()
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionParser.cpp378 lldbassert(exe_scope && in ClangExpressionParser()
386 lldbassert(target_sp.get() && in ClangExpressionParser()
1507 lldbassert(execution_unit_sp.get()); in RunStaticInitializers()
1508 lldbassert(exe_ctx.HasThreadScope()); in RunStaticInitializers()

123