Home
last modified time | relevance | path

Searched refs:comp_unit (Results 1 – 25 of 33) sorted by relevance

12

/external/lldb/source/Symbol/
DSymbolContext.cpp32 comp_unit (NULL), in SymbolContext()
43 comp_unit (cu), in SymbolContext()
56 comp_unit (cu), in SymbolContext()
69 comp_unit (rhs.comp_unit), in SymbolContext()
81 comp_unit (NULL), in SymbolContext()
101 comp_unit = rhs.comp_unit; in operator =()
116 comp_unit = NULL; in Clear()
246 if (comp_unit != NULL) in GetDescription()
249 comp_unit->GetDescription (s, level); in GetDescription()
296 line_entry.GetDescription (s, level, comp_unit, target, false); in GetDescription()
[all …]
DFunction.cpp198 CompileUnit *comp_unit, in Function() argument
206 m_comp_unit (comp_unit), in Function()
217 assert(comp_unit != NULL); in Function()
222 CompileUnit *comp_unit, in Function() argument
230 m_comp_unit (comp_unit), in Function()
241 assert(comp_unit != NULL); in Function()
DCompileUnit.cpp61 sc->comp_unit = this; in CalculateSymbolContext()
349 sc.comp_unit = this; in ResolveSymbolContext()
354 LineTable *line_table = sc.comp_unit->GetLineTable(); in ResolveSymbolContext()
/external/lldb/source/Target/
DThreadPlanStepOverRange.cpp125 if (m_addr_context.comp_unit) in ShouldStop()
127 if (m_addr_context.comp_unit == older_context.comp_unit) in ShouldStop()
196 && sc.comp_unit == m_addr_context.comp_unit in ShouldStop()
200 LineTable *line_table = m_addr_context.comp_unit->GetLineTable(); in ShouldStop()
DStackFrame.cpp367 if (m_sc.comp_unit) in GetSymbolContext()
430 if ((resolved & eSymbolContextCompUnit) && m_sc.comp_unit == NULL) in GetSymbolContext()
431 m_sc.comp_unit = sc.comp_unit; in GetSymbolContext()
504 if (m_sc.comp_unit) in GetVariableList()
506 VariableListSP global_variable_list_sp (m_sc.comp_unit->GetVariableList(true)); in GetVariableList()
534 if (m_sc.comp_unit) in GetInScopeVariableList()
536 VariableListSP global_variable_list_sp (m_sc.comp_unit->GetVariableList(true)); in GetInScopeVariableList()
1348 …assert (m_sc.comp_unit == NULL || curr_frame.m_sc.comp_unit == NULL || m_sc.comp_unit == curr_fram… in UpdatePreviousFrameFromCurrentFrame()
1399 if (m_sc.comp_unit && m_sc.line_entry.IsValid()) in GetStatus()
/external/lldb/scripts/Python/interface/
DSBModule.i425 comp_unit = self.sbmodule.GetCompileUnitAtIndex(idx)
427 if comp_unit.file.fullpath == key:
428 return comp_unit
430 if comp_unit.file.basename == key:
431 return comp_unit
435 comp_unit = self.sbmodule.GetCompileUnitAtIndex(idx)
436 fullpath = comp_unit.file.fullpath
440 matches.append(comp_unit)
/external/lldb/source/Plugins/SymbolFile/DWARF/
DSymbolFileDWARF.cpp310 CompileUnit *comp_unit = NULL; in GetTypes() local
313 comp_unit = sc_scope->CalculateSymbolContextCompileUnit(); in GetTypes()
315 if (comp_unit) in GetTypes()
317 dwarf_cu = GetDWARFCompileUnit(comp_unit); in GetTypes()
852 SymbolFileDWARF::GetDWARFCompileUnit(lldb_private::CompileUnit *comp_unit) in GetDWARFCompileUnit() argument
870 return info->GetCompileUnit((dw_offset_t)comp_unit->GetID()).get(); in GetDWARFCompileUnit()
905 CompileUnit *comp_unit = (CompileUnit*)dwarf_cu->GetUserData(); in ParseCompileUnit() local
906 if (comp_unit) in ParseCompileUnit()
909 cu_sp = comp_unit->shared_from_this(); in ParseCompileUnit()
1075 … decl_ap.reset(new Declaration (sc.comp_unit->GetSupportFiles().GetFileSpecAtIndex(decl_file), in ParseCompileUnitFunction()
[all …]
DDWARFCompileUnit.cpp404 sc.comp_unit = dwarf2Data->GetCompUnitForDWARFCompUnit(this); in BuildAddressRangeTable()
405 if (sc.comp_unit) in BuildAddressRangeTable()
410 LineTable *line_table = sc.comp_unit->GetLineTable(); in BuildAddressRangeTable()
/external/lldb/source/Commands/
DCommandObjectSource.cpp677 if (sc.comp_unit) in DoExecute()
683 m_breakpoint_locations.Reset (*sc.comp_unit, 0, show_inlines); in DoExecute()
704 target->GetSourceManager().DisplaySourceLinesWithLineNumbers (sc.comp_unit, in DoExecute()
816 if (sc.comp_unit) in DoExecute()
820 if (test_cu_spec != static_cast<FileSpec *> (sc.comp_unit)) in DoExecute()
825 test_cu_spec = sc.comp_unit; in DoExecute()
840 if (sc.comp_unit) in DoExecute()
845 m_breakpoint_locations.Reset (*sc.comp_unit, 0, show_inlines); in DoExecute()
855 target->GetSourceManager().DisplaySourceLinesWithLineNumbers (sc.comp_unit, in DoExecute()
DCommandCompletions.cpp534 if (context.comp_unit != NULL) in SearchCallback()
538 FileSpecList supporting_files = context.comp_unit->GetSupportFiles(); in SearchCallback()
561 const char *cur_file_name = context.comp_unit->GetFilename().GetCString(); in SearchCallback()
562 const char *cur_dir_name = context.comp_unit->GetDirectory().GetCString(); in SearchCallback()
575 m_matching_files.AppendIfUnique(context.comp_unit); in SearchCallback()
DCommandObjectThread.cpp1011 if (sc.comp_unit) in DoExecute()
1012 line_table = sc.comp_unit->GetLineTable(); in DoExecute()
1041 … index_ptr = sc.comp_unit->FindLineEntry(index_ptr, line_number, sc.comp_unit, exact, &line_entry); in DoExecute()
DCommandObjectTarget.cpp735 if (sc.comp_unit) in DumpGlobalVariableList()
738 sc.comp_unit->GetPath().c_str(), in DumpGlobalVariableList()
747 else if (sc.comp_unit) in DumpGlobalVariableList()
750 sc.comp_unit->GetPath().c_str()); in DumpGlobalVariableList()
846 CompileUnit *comp_unit = NULL; in DoExecute() local
850 if (sc.comp_unit) in DoExecute()
853 … VariableListSP comp_unit_varlist_sp (sc.comp_unit->GetVariableList(can_create)); in DoExecute()
869 if (comp_unit) in DoExecute()
871 comp_unit->GetPath().c_str()); in DoExecute()
930 if (sc.comp_unit) in DoExecute()
[all …]
/external/lldb/include/lldb/Symbol/
DSymbolContext.h86 CompileUnit *comp_unit = NULL,
95 CompileUnit *comp_unit = NULL,
344 CompileUnit * comp_unit; ///< The CompileUnit for a given query variable
DFunction.h366 CompileUnit *comp_unit,
405 CompileUnit *comp_unit,
DLineTable.h55 LineTable (CompileUnit* comp_unit);
/external/lldb/source/Core/
DSearchFilter.cpp236 if (context.comp_unit == NULL) in DoCUIteration()
267 if (CompUnitPasses(*context.comp_unit)) in DoCUIteration()
269 SymbolContext matchingContext (m_target_sp, module_sp, context.comp_unit); in DoCUIteration()
750 matchingContext.comp_unit = cu_sp.get(); in Search()
751 if (matchingContext.comp_unit) in Search()
753 … if (m_cu_spec_list.FindFileIndex(0, *matchingContext.comp_unit, false) != UINT32_MAX) in Search()
DSourceManager.cpp370 if (sc.comp_unit) in File()
374 if (test_cu_spec != static_cast<FileSpec *> (sc.comp_unit)) in File()
379 test_cu_spec = sc.comp_unit; in File()
387 m_file_spec = sc.comp_unit; in File()
DFileLineResolver.cpp51 CompileUnit *cu = context.comp_unit; in SearchCallback()
DAddressResolverFileLine.cpp53 CompileUnit *cu = context.comp_unit; in SearchCallback()
DModule.cpp370 sc.comp_unit = symbols->GetCompileUnitAtIndex(cu_idx).get(); in ParseAllDebugSymbols()
371 if (sc.comp_unit) in ParseAllDebugSymbols()
378 …for (size_t func_idx = 0; (sc.function = sc.comp_unit->GetFunctionAtIndex(func_idx).get()) != NULL… in ParseAllDebugSymbols()
579 sc.comp_unit = GetCompileUnitAtIndex(i).get(); in FindCompileUnits()
580 if (sc.comp_unit) in FindCompileUnits()
582 if (FileSpec::Equal (*sc.comp_unit, path, compare_directory)) in FindCompileUnits()
/external/lldb/source/Plugins/SymbolFile/Symtab/
DSymbolFileSymtab.cpp181 assert (sc.comp_unit != NULL); in ParseCompileUnitFunctions()
232 FunctionSP func_sp(new Function(sc.comp_unit, in ParseCompileUnitFunctions()
241 sc.comp_unit->AddFunction(func_sp); in ParseCompileUnitFunctions()
/external/lldb/source/API/
DSBSymbolContext.cpp114 return SBCompileUnit (m_opaque_ap.get() ? m_opaque_ap->comp_unit : NULL); in GetCompileUnit()
190 ref().comp_unit = compile_unit.get(); in SetCompileUnit()
/external/lldb/source/Breakpoint/
DBreakpointResolverName.cpp258 if (!sc.comp_unit || !filter.CompUnitPasses(*sc.comp_unit)) in SearchCallback()
DBreakpointResolverFileRegex.cpp60 CompileUnit *cu = context.comp_unit; in SearchCallback()
DBreakpointLocation.cpp561 if (sc.comp_unit != NULL) in GetDescription()
565 static_cast<FileSpec*>(sc.comp_unit)->GetFilename().Dump (s); in GetDescription()

12