/freebsd/contrib/llvm-project/lldb/source/Symbol/ |
H A D | SymbolFile.cpp | 197 lldb::CompUnitSP &cu_sp = (*m_compile_units)[idx]; in GetCompileUnitAtIndex() local 198 if (!cu_sp) in GetCompileUnitAtIndex() 199 cu_sp = ParseCompileUnitAtIndex(idx); in GetCompileUnitAtIndex() 200 return cu_sp; in GetCompileUnitAtIndex() 204 const CompUnitSP &cu_sp) { in SetCompileUnitAtIndex() argument 216 (*m_compile_units)[idx] = cu_sp; in SetCompileUnitAtIndex() 251 for (const CompUnitSP &cu_sp : *m_compile_units) { in Dump() 253 if (cu_sp) in Dump() 254 cu_sp->Dump(&s, /*show_context*/ false); in Dump()
|
/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | SearchFilter.cpp | 302 CompUnitSP cu_sp(module_sp->GetCompileUnitAtIndex(i)); in DoCUIteration() local 303 if (!cu_sp) in DoCUIteration() 305 if (!CompUnitPasses(*(cu_sp.get()))) in DoCUIteration() 309 SymbolContext matchingContext(m_target_sp, module_sp, cu_sp.get()); in DoCUIteration() 326 if (!sym_file->ParseFunctions(*cu_sp)) in DoCUIteration() 329 cu_sp->ForeachFunction([&](const FunctionSP &func_sp) { in DoCUIteration() 333 SymbolContext matchingContext(m_target_sp, module_sp, cu_sp.get(), in DoCUIteration() 758 CompUnitSP cu_sp = module_sp->GetCompileUnitAtIndex(cu_idx); in Search() local 759 matchingContext.comp_unit = cu_sp.get(); in Search()
|
H A D | Module.cpp | 428 CompUnitSP cu_sp; in GetCompileUnitAtIndex() local 432 cu_sp = symbols->GetCompileUnitAtIndex(index); in GetCompileUnitAtIndex() 434 return cu_sp; in GetCompileUnitAtIndex()
|
/freebsd/contrib/llvm-project/lldb/source/Breakpoint/ |
H A D | BreakpointResolverFileLine.cpp | 295 CompUnitSP cu_sp(context.module_sp->GetCompileUnitAtIndex(i)); in SearchCallback() local 296 if (cu_sp) { in SearchCallback() 297 if (filter.CompUnitPasses(*cu_sp)) in SearchCallback() 298 cu_sp->ResolveSymbolContext(m_location_spec, eSymbolContextEverything, in SearchCallback()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/Symtab/ |
H A D | SymbolFileSymtab.cpp | 115 CompUnitSP cu_sp; in ParseCompileUnitAtIndex() local 123 cu_sp = std::make_shared<CompileUnit>(m_objfile_sp->GetModule(), nullptr, in ParseCompileUnitAtIndex() 127 return cu_sp; in ParseCompileUnitAtIndex()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/ |
H A D | SymbolFilePDB.cpp | 752 auto cu_sp = GetCompileUnitContainsAddress(so_addr); in ResolveSymbolContext() local 753 if (!cu_sp) { in ResolveSymbolContext() 759 sc.comp_unit = cu_sp.get(); in ResolveSymbolContext() 761 lldbassert(sc.module_sp == cu_sp->GetModule()); in ResolveSymbolContext() 1636 auto cu_sp = ParseCompileUnitAtIndex(cu_idx); in GetTypes() local 1637 if (cu_sp) { in GetTypes() 1638 if (auto compiland_up = GetPDBCompilandByUID(cu_sp->GetID())) in GetTypes() 1746 auto cu_sp = std::make_shared<CompileUnit>(m_objfile_sp->GetModule(), nullptr, in ParseCompileUnitForUID() local 1749 if (!cu_sp) in ParseCompileUnitForUID() 1752 m_comp_units.insert(std::make_pair(id, cu_sp)); in ParseCompileUnitForUID() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/Breakpad/ |
H A D | SymbolFileBreakpad.cpp | 219 auto cu_sp = std::make_shared<CompileUnit>( in ParseCompileUnitAtIndex() local 225 SetCompileUnitAtIndex(index, cu_sp); in ParseCompileUnitAtIndex() 226 return cu_sp; in ParseCompileUnitAtIndex() 435 CompUnitSP cu_sp = GetCompileUnitAtIndex(i); in FindFunctions() local 436 FunctionSP func_sp = GetOrCreateFunction(*cu_sp); in FindFunctions() 439 sc.comp_unit = cu_sp.get(); in FindFunctions()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | SymbolFileDWARFDebugMap.cpp | 1351 const CompUnitSP &cu_sp) { in SetCompileUnit() argument 1360 cu_sp.get()); in SetCompileUnit() 1362 assert(cu_sp->GetID() == 0 && in SetCompileUnit() 1365 compile_units_sps.push_back(cu_sp); in SetCompileUnit() 1367 {cu_sp->GetID(), compile_units_sps.size() - 1}); in SetCompileUnit() 1369 SetCompileUnitAtIndex(cu_idx, cu_sp); in SetCompileUnit()
|
H A D | SymbolFileDWARF.cpp | 780 CompUnitSP cu_sp; in ParseCompileUnit() local 784 cu_sp = comp_unit->shared_from_this(); in ParseCompileUnit() 788 cu_sp = m_debug_map_symfile->GetCompileUnit(this, dwarf_cu); in ParseCompileUnit() 789 dwarf_cu.SetLLDBCompUnit(cu_sp.get()); in ParseCompileUnit() 797 cu_sp = std::make_shared<CompileUnit>( in ParseCompileUnit() 802 dwarf_cu.SetLLDBCompUnit(cu_sp.get()); in ParseCompileUnit() 804 SetCompileUnitAtIndex(dwarf_cu.GetID(), cu_sp); in ParseCompileUnit() 857 return cu_sp; in ParseCompileUnit() 2116 CompUnitSP cu_sp = module_sp->GetCompileUnitAtIndex(i); in GetGlobalAranges() local 2117 if (cu_sp) { in GetGlobalAranges() [all …]
|
H A D | SymbolFileDWARFDebugMap.h | 270 const lldb::CompUnitSP &cu_sp);
|
/freebsd/contrib/llvm-project/lldb/source/API/ |
H A D | SBModule.cpp | 269 CompUnitSP cu_sp = module_sp->GetCompileUnitAtIndex(index); in GetCompileUnitAtIndex() local 270 sb_cu.reset(cu_sp.get()); in GetCompileUnitAtIndex()
|
/freebsd/contrib/llvm-project/lldb/source/Commands/ |
H A D | CommandObjectSource.cpp | 284 CompUnitSP cu_sp(module->GetCompileUnitAtIndex(i)); in DumpFileLinesInModule() local 285 if (cu_sp) { in DumpFileLinesInModule() 287 DumpFileLinesInCompUnit(strm, module, cu_sp.get(), file_spec); in DumpFileLinesInModule()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
H A D | SymbolFileNativePDB.cpp | 537 CompUnitSP cu_sp = std::make_shared<CompileUnit>( in CreateCompileUnit() local 541 SetCompileUnitAtIndex(cci.m_id.modi, cu_sp); in CreateCompileUnit() 542 return cu_sp; in CreateCompileUnit() 1091 CompUnitSP cu_sp = GetCompileUnitAtIndex(*modi); in ResolveSymbolContext() local 1092 if (!cu_sp) in ResolveSymbolContext() 1095 sc.comp_unit = cu_sp.get(); in ResolveSymbolContext()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/ |
H A D | SymbolFile.h | 599 void SetCompileUnitAtIndex(uint32_t idx, const lldb::CompUnitSP &cu_sp);
|