Lines Matching defs:comp_unit

276 lldb::LanguageType SymbolFilePDB::ParseLanguage(CompileUnit &comp_unit) {
278 auto compiland_up = GetPDBCompilandByUID(comp_unit.GetID());
289 CompileUnit &comp_unit) {
290 if (FunctionSP result = comp_unit.FindFunctionByUID(pdb_func.getSymIndexId()))
313 std::make_shared<Function>(&comp_unit, pdb_func.getSymIndexId(),
316 comp_unit.AddFunction(func_sp);
318 LanguageType lang = ParseLanguage(comp_unit);
336 size_t SymbolFilePDB::ParseFunctions(CompileUnit &comp_unit) {
339 auto compiland_up = GetPDBCompilandByUID(comp_unit.GetID());
346 auto func_sp = comp_unit.FindFunctionByUID(pdb_func_up->getSymIndexId());
348 if (ParseCompileUnitFunctionForPDBFunc(*pdb_func_up, comp_unit))
355 bool SymbolFilePDB::ParseLineTable(CompileUnit &comp_unit) {
357 if (comp_unit.GetLineTable())
359 return ParseCompileUnitLineTable(comp_unit, 0);
362 bool SymbolFilePDB::ParseDebugMacros(CompileUnit &comp_unit) {
368 CompileUnit &comp_unit, lldb_private::SupportFileList &support_files) {
376 auto compiland_up = GetPDBCompilandByUID(comp_unit.GetID());
461 size_t SymbolFilePDB::ParseTypes(CompileUnit &comp_unit) {
465 auto compiland = GetPDBCompilandByUID(comp_unit.GetID());
516 if (!sc.comp_unit)
528 } else if (sc.comp_unit) {
529 auto compiland = GetPDBCompilandByUID(sc.comp_unit->GetID());
533 if (sc.comp_unit->GetVariableList(false))
544 if (cu_id == sc.comp_unit->GetID())
759 sc.comp_unit = cu_sp.get();
773 sc.function = sc.comp_unit->FindFunctionByUID(func_uid).get();
776 ParseCompileUnitFunctionForPDBFunc(*pdb_func, *sc.comp_unit);
793 if (auto *line_table = sc.comp_unit->GetLineTable()) {
842 sc.comp_unit = cu.get();
849 bool has_line_table = ParseCompileUnitLineTable(*sc.comp_unit, line);
865 auto *line_table = sc.comp_unit->GetLineTable();
888 sc.function = sc.comp_unit->FindFunctionByUID(func_uid).get();
893 *sc.comp_unit);
1004 SymbolContextScope *context_scope = sc.comp_unit;
1068 assert(sc.comp_unit);
1071 if (sc.comp_unit) {
1072 local_variable_list_sp = sc.comp_unit->GetVariableList(false);
1075 sc.comp_unit->SetVariableList(local_variable_list_sp);
1148 sc.comp_unit = ParseCompileUnitForUID(GetCompilandId(*pdb_data)).get();
1150 if (sc.comp_unit == nullptr)
1187 sc.comp_unit = ParseCompileUnitForUID(GetCompilandId(*pdb_data)).get();
1189 if (sc.comp_unit == nullptr)
1201 sc.comp_unit = ParseCompileUnitForUID(pdb_func.getCompilandId()).get();
1202 if (!sc.comp_unit)
1204 sc.module_sp = sc.comp_unit->GetModule();
1205 sc.function = ParseCompileUnitFunctionForPDBFunc(pdb_func, *sc.comp_unit);
1760 bool SymbolFilePDB::ParseCompileUnitLineTable(CompileUnit &comp_unit,
1762 auto compiland_up = GetPDBCompilandByUID(comp_unit.GetID());
1772 auto line_table = std::make_unique<LineTable>(&comp_unit);
1858 comp_unit.SetLineTable(line_table.release());