Lines Matching defs:comp_unit

263 lldb::LanguageType SymbolFilePDB::ParseLanguage(CompileUnit &comp_unit) {
265 auto compiland_up = GetPDBCompilandByUID(comp_unit.GetID());
276 CompileUnit &comp_unit) {
277 if (FunctionSP result = comp_unit.FindFunctionByUID(pdb_func.getSymIndexId()))
300 std::make_shared<Function>(&comp_unit, pdb_func.getSymIndexId(),
303 comp_unit.AddFunction(func_sp);
305 LanguageType lang = ParseLanguage(comp_unit);
322 size_t SymbolFilePDB::ParseFunctions(CompileUnit &comp_unit) {
325 auto compiland_up = GetPDBCompilandByUID(comp_unit.GetID());
332 auto func_sp = comp_unit.FindFunctionByUID(pdb_func_up->getSymIndexId());
334 if (ParseCompileUnitFunctionForPDBFunc(*pdb_func_up, comp_unit))
341 bool SymbolFilePDB::ParseLineTable(CompileUnit &comp_unit) {
343 if (comp_unit.GetLineTable())
345 return ParseCompileUnitLineTable(comp_unit, 0);
348 bool SymbolFilePDB::ParseDebugMacros(CompileUnit &comp_unit) {
354 CompileUnit &comp_unit, lldb_private::FileSpecList &support_files) {
362 auto compiland_up = GetPDBCompilandByUID(comp_unit.GetID());
447 size_t SymbolFilePDB::ParseTypes(CompileUnit &comp_unit) {
451 auto compiland = GetPDBCompilandByUID(comp_unit.GetID());
502 if (!sc.comp_unit)
514 } else if (sc.comp_unit) {
515 auto compiland = GetPDBCompilandByUID(sc.comp_unit->GetID());
519 if (sc.comp_unit->GetVariableList(false))
530 if (cu_id == sc.comp_unit->GetID())
742 sc.comp_unit = cu_sp.get();
756 sc.function = sc.comp_unit->FindFunctionByUID(func_uid).get();
759 ParseCompileUnitFunctionForPDBFunc(*pdb_func, *sc.comp_unit);
776 if (auto *line_table = sc.comp_unit->GetLineTable()) {
823 sc.comp_unit = cu.get();
830 bool has_line_table = ParseCompileUnitLineTable(*sc.comp_unit, line);
846 auto *line_table = sc.comp_unit->GetLineTable();
869 sc.function = sc.comp_unit->FindFunctionByUID(func_uid).get();
874 *sc.comp_unit);
985 SymbolContextScope *context_scope = sc.comp_unit;
1046 assert(sc.comp_unit);
1049 if (sc.comp_unit) {
1050 local_variable_list_sp = sc.comp_unit->GetVariableList(false);
1053 sc.comp_unit->SetVariableList(local_variable_list_sp);
1127 sc.comp_unit = ParseCompileUnitForUID(GetCompilandId(*pdb_data)).get();
1129 if (sc.comp_unit == nullptr)
1166 sc.comp_unit = ParseCompileUnitForUID(GetCompilandId(*pdb_data)).get();
1168 if (sc.comp_unit == nullptr)
1180 sc.comp_unit = ParseCompileUnitForUID(pdb_func.getCompilandId()).get();
1181 if (!sc.comp_unit)
1183 sc.module_sp = sc.comp_unit->GetModule();
1184 sc.function = ParseCompileUnitFunctionForPDBFunc(pdb_func, *sc.comp_unit);
1763 bool SymbolFilePDB::ParseCompileUnitLineTable(CompileUnit &comp_unit,
1765 auto compiland_up = GetPDBCompilandByUID(comp_unit.GetID());
1775 auto line_table = std::make_unique<LineTable>(&comp_unit);
1861 comp_unit.SetLineTable(line_table.release());