Home
last modified time | relevance | path

Searched refs:sc (Results 126 – 150 of 2543) sorted by path

12345678910>>...102

/freebsd/contrib/llvm-project/lldb/source/Core/
H A DValueObject.cpp3064 const SymbolContext &sc( in GetPreferredDisplayLanguage() local
3066 if (CompileUnit *cu = sc.comp_unit) in GetPreferredDisplayLanguage()
H A DValueObjectVariable.cpp155 SymbolContext sc; in UpdateValue() local
156 variable->CalculateSymbolContext(&sc); in UpdateValue()
157 if (sc.function) in UpdateValue()
159 sc.function->GetAddressRange().GetBaseAddress().GetLoadAddress( in UpdateValue()
/freebsd/contrib/llvm-project/lldb/source/DataFormatters/
H A DTypeSummary.cpp77 SymbolContext sc; in FormatObject() local
80 sc = frame->GetSymbolContext(lldb::eSymbolContextEverything); in FormatObject()
88 if (FormatEntity::Format(m_format, s, &sc, &exe_ctx, in FormatObject()
89 &sc.line_entry.range.GetBaseAddress(), valobj, in FormatObject()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DDWARFExpressionList.cpp125 SymbolContext sc = frame.GetSymbolContext(eSymbolContextFunction); in MatchesOperand() local
126 if (!sc.function) in MatchesOperand()
130 sc.function->GetAddressRange().GetBaseAddress().GetFileAddress(); in MatchesOperand()
H A DIRExecutionUnit.cpp777 const lldb_private::SymbolContext &sc, in FindInSymbols() argument
781 Target *target = sc.target_sp.get(); in FindInSymbols()
794 if (sc.module_sp) { in FindInSymbols()
796 sc.module_sp->FindFunctions(name, CompilerDeclContext(), in FindInSymbols()
803 if (sc.target_sp) { in FindInSymbols()
811 if (sc.target_sp) { in FindInSymbols()
813 sc.target_sp->GetImages().FindSymbolsWithNameAndType( in FindInSymbols()
831 lldb::TargetSP target_sp = sc.target_sp; in FindInRuntimes()
837 lldb::ProcessSP process_sp = sc.target_sp->GetProcessSP(); in FindInRuntimes()
857 const lldb_private::SymbolContext &sc) { in FindInUserDefinedSymbols() argument
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Architecture/Mips/
H A DArchitectureMips.cpp93 SymbolContext sc; in GetBreakableLoadAddress() local
97 resolve_scope, sc); in GetBreakableLoadAddress()
99 if (sc.function) in GetBreakableLoadAddress()
100 sym_addr = sc.function->GetAddressRange().GetBaseAddress(); in GetBreakableLoadAddress()
101 else if (sc.symbol) in GetBreakableLoadAddress()
102 sym_addr = sc.symbol->GetAddress(); in GetBreakableLoadAddress()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTSource.cpp1053 for (const SymbolContext &sc : sc_list) { in FindObjCMethodDecls() local
1054 if (!sc.function) in FindObjCMethodDecls()
1057 CompilerDeclContext function_decl_ctx = sc.function->GetDeclContext(); in FindObjCMethodDecls()
H A DClangExpressionParser.cpp1332 SymbolContext sc; in PrepareForExecution() local
1335 sc = frame_sp->GetSymbolContext(lldb::eSymbolContextEverything); in PrepareForExecution()
1337 sc.target_sp = target_sp; in PrepareForExecution()
1365 function_name, exe_ctx.GetTargetSP(), sc, in PrepareForExecution()
H A DClangExpressionSourceCode.cpp383 SymbolContext sc; in GetText() local
385 block->CalculateSymbolContext(&sc); in GetText()
387 if (sc.comp_unit) { in GetText()
391 *sc.comp_unit, modules_for_macros, error_stream); in GetText()
414 const SymbolContext &sc = frame->GetSymbolContext( in GetText() local
417 if (sc.comp_unit && sc.line_entry.IsValid()) { in GetText()
418 DebugMacros *dm = sc.comp_unit->GetDebugMacros(); in GetText()
420 AddMacroState state(sc.line_entry.file, sc.line_entry.line); in GetText()
421 AddMacros(dm, sc.comp_unit, state, debug_macros_stream); in GetText()
H A DClangUserExpression.cpp368 SymbolContext sc; in SetupDeclVendor() local
370 block->CalculateSymbolContext(&sc); in SetupDeclVendor()
372 if (!sc.comp_unit) in SetupDeclVendor()
378 if (decl_vendor->AddModulesForCompileUnit(*sc.comp_unit, modules_for_macros, in SetupDeclVendor()
484 SymbolContext sc; in GetModuleConfig() local
485 block->CalculateSymbolContext(&sc); in GetModuleConfig()
486 if (!sc.comp_unit) in GetModuleConfig()
491 for (auto &f : sc.comp_unit->GetSupportFiles()) in GetModuleConfig()
496 sc.comp_unit->ForEachExternalModule( in GetModuleConfig()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DCPlusPlusLanguage.cpp1656 const SymbolContext *sc, const ExecutionContext *exe_ctx, in GetFunctionDisplayName() argument
1661 if (sc->function) { in GetFunctionDisplayName()
1664 const char *cstr = sc->function->GetName().AsCString(nullptr); in GetFunctionDisplayName()
1669 if (sc->block) { in GetFunctionDisplayName()
1670 Block *inline_block = sc->block->GetContainingInlinedBlock(); in GetFunctionDisplayName()
1682 sc->function->GetBlock(true).GetBlockVariableList(true); in GetFunctionDisplayName()
1703 } else if (sc->symbol) { in GetFunctionDisplayName()
1704 const char *cstr = sc->symbol->GetName().AsCString(nullptr); in GetFunctionDisplayName()
H A DCPlusPlusLanguage.h141 bool GetFunctionDisplayName(const SymbolContext *sc,
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus/
H A DCPPLanguageRuntime.cpp74 sc.GetAddressRange(eSymbolContextEverything, 0, false, range); in line_entry_helper()
207 SymbolContext sc; in FindLibCppStdFunctionCallableInfo() local
215 vtable_addr_resolved, eSymbolContextEverything, sc); in FindLibCppStdFunctionCallableInfo()
216 symbol = sc.symbol; in FindLibCppStdFunctionCallableInfo()
257 symbol = sc.symbol; in FindLibCppStdFunctionCallableInfo()
265 SymbolContext sc; in FindLibCppStdFunctionCallableInfo() local
266 t->CalculateSymbolContext(&sc); in FindLibCppStdFunctionCallableInfo()
267 sc_list.Append(sc); in FindLibCppStdFunctionCallableInfo()
353 SymbolContext sc; in GetStepThroughTrampolinePlan() local
361 pc_addr_resolved, eSymbolContextEverything, sc); in GetStepThroughTrampolinePlan()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCRuntimeV2.cpp3359 SymbolContext sc; in GetCFBooleanValuesIfNeeded() local
3360 sc_list.GetContextAtIndex(0, sc); in GetCFBooleanValuesIfNeeded()
3361 if (sc.symbol) in GetCFBooleanValuesIfNeeded()
3362 return sc.symbol->GetLoadAddress(&GetProcess()->GetTarget()); in GetCFBooleanValuesIfNeeded()
3369 SymbolContext sc; in GetCFBooleanValuesIfNeeded() local
3370 sc_list.GetContextAtIndex(0, sc); in GetCFBooleanValuesIfNeeded()
3371 if (!sc.symbol) in GetCFBooleanValuesIfNeeded()
3374 lldb::addr_t addr = sc.symbol->GetLoadAddress(&GetProcess()->GetTarget()); in GetCFBooleanValuesIfNeeded()
H A DAppleThreadPlanStepThroughObjCTrampoline.cpp160 SymbolContext sc = GetThread().GetStackFrameAtIndex(0)->GetSymbolContext( in ShouldStop() local
167 abort_other_plans, &sc, first_insn, false, eVoteNoOpinion, in ShouldStop()
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/
H A DObjCLanguageRuntime.cpp133 SymbolContext sc; in LookupInCompleteClassCache() local
135 sc_list.GetContextAtIndex(0, sc); in LookupInCompleteClassCache()
137 ModuleSP module_sp(sc.module_sp); in LookupInCompleteClassCache()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DInferiorCallPOSIX.cpp53 SymbolContext sc; in InferiorCallMmap() local
54 if (sc_list.GetContextAtIndex(0, sc)) { in InferiorCallMmap()
81 if (sc.GetAddressRange(range_scope, 0, use_inline_block_range, in InferiorCallMmap()
150 SymbolContext sc; in InferiorCallMunmap() local
151 if (sc_list.GetContextAtIndex(0, sc)) { in InferiorCallMunmap()
165 if (sc.GetAddressRange(range_scope, 0, use_inline_block_range, in InferiorCallMunmap()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationClient.cpp4057 for (const SymbolContext &sc : sc_list) { in ServeSymbolLookups() local
4060 if (sc.symbol) { in ServeSymbolLookups()
4061 switch (sc.symbol->GetType()) { in ServeSymbolLookups()
4094 sc.symbol->GetLoadAddress(&process->GetTarget()); in ServeSymbolLookups()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/scripted/
H A DScriptedThread.cpp204 SymbolContext sc; in LoadArtificialStackFrames() local
205 symbol_addr.CalculateSymbolContext(&sc); in LoadArtificialStackFrames()
209 StackFrame::Kind::Artificial, behaves_like_zeroth_frame, &sc); in LoadArtificialStackFrames()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/Breakpad/
H A DSymbolFileBreakpad.cpp371 SymbolContext &sc) { in ResolveSymbolContext() argument
383 sc.comp_unit = GetCompileUnitAtIndex(idx).get(); in ResolveSymbolContext()
393 FunctionSP func_sp = GetOrCreateFunction(*sc.comp_unit); in ResolveSymbolContext()
395 sc.function = func_sp.get(); in ResolveSymbolContext()
399 sc.block = block.FindInnermostBlockByOffset( in ResolveSymbolContext()
402 if (sc.block) in ResolveSymbolContext()
438 SymbolContext sc; in FindFunctions() local
439 sc.comp_unit = cu_sp.get(); in FindFunctions()
440 sc.function = func_sp.get(); in FindFunctions()
441 sc.module_sp = func_sp->CalculateSymbolContextModule(); in FindFunctions()
[all …]
H A DSymbolFileBreakpad.h80 const SymbolContext &sc, in ParseImportedModules() argument
92 size_t ParseVariablesForContext(const SymbolContext &sc) override { in ParseVariablesForContext() argument
105 SymbolContext &sc) override;
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/CTF/
H A DSymbolFileCTF.cpp939 if (sc.symbol) in ResolveSymbolContext()
948 sc.function = function_sp.get(); in ResolveSymbolContext()
959 sc.variable = variable_sp.get(); in ResolveSymbolContext()
1064 lldb_private::SymbolContext sc; in FindFunctions() local
1065 sc.comp_unit = m_comp_unit_sp.get(); in FindFunctions()
1066 sc.function = function_sp.get(); in FindFunctions()
1067 sc_list.Append(sc); in FindFunctions()
1077 lldb_private::SymbolContext sc; in FindFunctions() local
1078 sc.comp_unit = m_comp_unit_sp.get(); in FindFunctions()
1079 sc.function = function_sp.get(); in FindFunctions()
[all …]
H A DSymbolFileCTF.h76 const SymbolContext &sc, in ParseImportedModules() argument
83 size_t ParseVariablesForContext(const SymbolContext &sc) override;
100 lldb_private::SymbolContext &sc) override;
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParser.h37 virtual lldb::TypeSP ParseTypeFromDWARF(const SymbolContext &sc,
H A DDWARFASTParserClang.cpp500 type_sp = ParseTypeModifier(sc, die, attrs); in ParseTypeFromDWARF()
507 type_sp = ParseStructureLikeDIE(sc, die, attrs); in ParseTypeFromDWARF()
512 type_sp = ParseEnum(sc, die, attrs); in ParseTypeFromDWARF()
542 return UpdateSymbolContextScopeForType(sc, die, type_sp); in ParseTypeFromDWARF()
626 type_sp = ParseTypeFromClangModule(sc, die, log); in ParseTypeModifier()
816 type_sp = ParseTypeFromClangModule(sc, die, log); in ParseEnum()
1535 symbol_context_scope = sc.comp_unit; in UpdateSymbolContextScopeForType()
1536 } else if (sc.function != nullptr && sc_parent_die) { in UpdateSymbolContextScopeForType()
1540 symbol_context_scope = sc.function; in UpdateSymbolContextScopeForType()
1542 symbol_context_scope = sc.module_sp.get(); in UpdateSymbolContextScopeForType()
[all …]

12345678910>>...102