reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/lldb/include/lldb/Utility/LLDBAssert.h
   21 void lldb_assert(bool expression, const char *expr_text, const char *func,

References

tools/lldb/include/lldb/Target/Target.h
 1349     lldbassert(key < lldb_private::StatisticKind::StatisticMax &&
tools/lldb/include/lldb/Utility/CompletionRequest.h
  186     lldbassert(completions.GetSize() == descriptions.GetSize());
tools/lldb/include/lldb/Utility/SharedCluster.h
   68         lldbassert(false && "object not found in shared cluster when expected");
tools/lldb/source/Commands/CommandObjectMemory.cpp
 1002       lldbassert(process_sp.get() != nullptr);
tools/lldb/source/Core/Module.cpp
  352     lldbassert(0 && "Attempting to overwrite the existing module UUID");
tools/lldb/source/DataFormatters/VectorType.cpp
   27   lldbassert(type_system && "type_system needs to be not NULL");
tools/lldb/source/Expression/DWARFExpression.cpp
 2706       lldbassert(false && "Not supported location list type");
tools/lldb/source/Expression/IRExecutionUnit.cpp
  987           lldbassert(ctor_struct->getNumOperands() ==
tools/lldb/source/Expression/IRMemoryMap.cpp
  102     lldbassert(process_sp->GetAddressByteSize() == 4 ||
  128           lldbassert(0 && "GetMemoryRegionInfo() succeeded, then failed");
tools/lldb/source/Host/common/Editline.cpp
  525       lldbassert(status == lldb::eConnectionStatusInterrupted);
 1328   lldbassert(m_editor_status != EditorStatus::Editing);
tools/lldb/source/Host/common/FileSystem.cpp
   48   lldbassert(!InstanceImpl() && "Already initialized.");
   53   lldbassert(!InstanceImpl() && "Already initialized.");
   58   lldbassert(!InstanceImpl() && "Already initialized.");
   74   lldbassert(!InstanceImpl() && "Already initialized.");
   79   lldbassert(InstanceImpl() && "Already terminated.");
tools/lldb/source/Interpreter/CommandInterpreter.cpp
  598       lldbassert(num_printed < 1024);
  951     lldbassert((this == &cmd_sp->GetCommandInterpreter()) &&
  973     lldbassert((this == &cmd_sp->GetCommandInterpreter()) &&
 1123     lldbassert((this == &command_obj_sp->GetCommandInterpreter()) &&
 2654     lldbassert(m_iohandler_nesting_level == 0);
 2656     lldbassert(m_iohandler_nesting_level > 0);
 2661   lldbassert(m_iohandler_nesting_level > 0);
 2664     lldbassert(prev_state != CommandHandlingState::eIdle);
 2677   lldbassert(!was_interrupted || m_iohandler_nesting_level > 0);
 2689       lldbassert(data[chunk_size] != '\0');
 2696     lldbassert(size >= chunk_size);
 3037         lldbassert(num_matches == 0);
tools/lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
  431   lldbassert(m_top_level);
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
   72     lldbassert(!m_merger_up);
   85         lldbassert(module_ast_ctx->getASTContext());
   86         lldbassert(module_ast_ctx->getFileManager());
  442       lldbassert(0 && "No mechanism for completing a type!");
 1791   lldbassert(&record->getASTContext() == m_ast_context);
 1992     lldbassert(0 && "Couldn't find the importer for a source context!");
 2012       lldbassert(0 && "Couldn't find the importer for a source context!");
 2027     lldbassert(0 && "No mechanism for copying a decl!");
 2047   lldbassert(m_merger_up != nullptr);
 2072     lldbassert(0 && "No mechanism for copying a type!");
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
  233     lldbassert(0 && "No mechanism for deporting a type!");
 1819         lldbassert(0 && "No mechanism to copy a resolved unknown type!");
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
  287     lldb_assert(exe_scope, "Can't make an expression parser with a null scope.",
  295     lldb_assert(target_sp.get(),
 1352   lldbassert(execution_unit_sp.get());
 1353   lldbassert(exe_ctx.HasThreadScope());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
  524                 lldbassert(0 && "Unhandled token kind");
tools/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp
  116   lldbassert(from_addr % sizeof(ptr_t) == 0);
tools/lldb/source/Plugins/Language/ObjC/Cocoa.cpp
  504           lldbassert(!static_cast<bool>("We should handle preserved numbers!"));
tools/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
  349   lldbassert(wp_index != LLDB_INVALID_INDEX32 && "wp_index cannot be invalid");
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp
  301   lldbassert(m_acquired);
  316   lldbassert(!m_acquired);
  329   lldbassert(!m_comm.m_is_running);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
  979   lldbassert(!m_stdio_handle_up);
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
  147   lldbassert(DataPtr->GetByteSize() == header_size);
tools/lldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM.cpp
  477   lldbassert(k_num_regs == k_num_reg_infos);
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
 1120           lldbassert(function_decl);
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
   46   lldbassert(abbr_idx <= UINT16_MAX);
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp
  185       lldbassert(0 && "unknown range list entry encoding");
  267     lldbassert(0 && "not implemented");
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
  105   lldbassert(!m_cancel_scopes);
  245       lldbassert(m_first_die == m_die_array.front());
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
 3041   lldbassert(comp_unit);
tools/lldb/source/Plugins/SymbolFile/NativePDB/CompileUnitIndex.cpp
   84   lldbassert(!item.m_obj_name);
   85   lldbassert(!item.m_compile_opts);
   86   lldbassert(item.m_build_info.empty());
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
   65       lldbassert(false && "Invalid compiland symbol id!");
  103     lldbassert(false && "Invalid tag record kind!");
  396   lldbassert(!nodes.empty());
  416         lldbassert(s1.kind() == S_PUB32);
  426   lldbassert(sym.kind() == S_PUB32);
  647   lldbassert(status_iter != m_decl_to_status.end());
  656   lldbassert(IsTagRecord(type_id, m_index.tpi()));
  668   lldbassert(IsTagRecord(cvt));
  785   lldbassert(ct.IsValid());
  874   lldbassert(sym.kind() == S_UDT);
  973     lldbassert(m_decl_to_status.count(tag) == 0);
 1020   lldbassert(m_uid_to_decl.count(toOpaqueUid(func_id)) == 0);
 1088     lldbassert(m_uid_to_decl.count(toOpaqueUid(param_uid)) == 0);
 1270   lldbassert(sym.kind() == S_GPROC32 || sym.kind() == S_LPROC32 ||
 1298   lldbassert(decl);
 1301   lldbassert(iter != m_decl_to_status.end());
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbIndex.cpp
   43   lldbassert(file);
   64   lldbassert(segment > 0);
   67   lldbassert(segment <= max_section + 1);
  122   lldbassert(cci.m_symbols_by_va.empty() &&
  190   lldbassert(iter != cci->m_debug_stream.getSymbolArray().end());
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.cpp
  130     lldbassert(false && "Invalid symbol record kind!");
  159     lldbassert(false && "Invalid type record kind!");
  290     lldbassert(false && "Record does not have a segment/offset!");
  344     lldbassert(false && "Record does not have a segment/offset/length triple!");
  446   lldbassert(modifier.kind() == LF_MODIFIER);
  507   lldbassert(false && "Invalid variable record kind!");
  515   lldbassert(!ranges.IsEmpty());
  566   lldbassert(frame_proc_cvs.kind() == S_FRAMEPROC);
  629       lldbassert(func_block_cvs.kind() == S_GPROC32 ||
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
  334     lldbassert(clang);
  365   lldbassert(sym.kind() == S_BLOCK32);
  372   lldbassert(block.Parent != 0);
  389   lldbassert(cci);
  392   lldbassert(sym_record.kind() == S_LPROC32 || sym_record.kind() == S_GPROC32);
  876   lldbassert(emplace_result.first->second);
  899   lldbassert(index < UINT16_MAX);
  911   lldbassert(uid.kind() == PdbSymUidKind::Compiland);
  915   lldbassert(item);
  927   lldbassert(uid.kind() == PdbSymUidKind::Compiland);
  943   lldbassert(new_count >= count);
  977     lldbassert(sc.comp_unit);
 1007     lldbassert(sc.comp_unit);
 1066   lldbassert(cu_id.kind() == PdbSymUidKind::Compiland);
 1069   lldbassert(cci);
 1110       lldbassert(fn_iter != cci->m_file_list.end());
 1117       lldbassert(!group.LineNumbers.empty());
 1145   lldbassert(cu_id.kind() == PdbSymUidKind::Compiland);
 1148   lldbassert(cci);
 1329   lldbassert(sym_uid.kind() == PdbSymUidKind::Compiland);
 1376   lldbassert(sym.kind() == SymbolKind::S_UDT);
 1422     lldbassert(false && "Symbol is not a block!");
 1481   lldbassert(sc.function || sc.comp_unit);
 1545   lldbassert(uid.kind() == PdbSymUidKind::Type);
tools/lldb/source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.cpp
   64   lldbassert(base_spec);
   95   lldbassert(decl);
tools/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
  627     lldbassert(arg_list.size() <= num_args);
 1313     lldbassert(base_spec);
tools/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
  188   lldbassert(obj_load_address && obj_load_address != LLDB_INVALID_ADDRESS);
  192   lldbassert(m_global_scope_up.get());
  214   lldbassert(last_compiland_up.get());
  746     lldbassert(sc.module_sp == cu_sp->GetModule());
  849           lldbassert(line_table);
 1123     lldbassert(sc.module_sp.get());
 1166     lldbassert(sc.module_sp.get());
 1303   lldbassert((name_type_mask & eFunctionNameTypeAuto) == 0);
 1760   lldbassert(index != UINT32_MAX);
 1932         lldbassert(result_up->getChildCount() == 1);
tools/lldb/source/Symbol/ClangASTContext.cpp
  138   lldbassert(&m1->getASTContext() == &m2->getASTContext() &&
  598         lldbassert(ast_sp->getFileManager());
 2101       lldbassert(is_clang_type);
 2197     lldbassert(0 && "Trying to create a type for an existing name");
 8868   lldbassert(enum_type.GetTypeSystem() == static_cast<TypeSystem *>(this));
10345   lldbassert(m_scratch_ast_source_up != nullptr);
tools/lldb/source/Symbol/ClangASTImporter.cpp
  222       lldbassert(0 && "Couldn't override!");
tools/lldb/source/Target/Target.cpp
  254   lldbassert(!m_repl_map.count(language));
tools/lldb/source/Target/ThreadList.cpp
  504     lldbassert((*pos)->GetCurrentPlan() &&
tools/lldb/source/Utility/DataExtractor.cpp
  524   lldbassert(byte_size > 0 && byte_size <= 4 && "GetMaxU32 invalid byte_size!");
  530   lldbassert(byte_size > 0 && byte_size <= 8 && "GetMaxU64 invalid byte_size!");
tools/lldb/source/Utility/Reproducer.cpp
   25   lldbassert(!InstanceImpl() && "Already initialized.");
   57   lldbassert(InstanceImpl() && "Already terminated.");
tools/lldb/source/Utility/Scalar.cpp
 1057     lldbassert(false && "unimplemented");
tools/lldb/source/Utility/SelectHelper.cpp
  111     lldbassert(fd < static_cast<int>(FD_SETSIZE));