Lines Matching +defs:symbol +defs:function

73 /// The function returns a ValueObject for the captured 'this' if such
538 const Address sym_address = sym_ctx.symbol->GetAddress();
543 switch (sym_ctx.symbol->GetType()) {
554 ConstString reexport_name = sym_ctx.symbol->GetReExportedSymbolName();
559 sym_ctx.symbol->GetReExportedSymbolSharedLibrary();
570 target, process, sym_ctx.symbol->GetReExportedSymbolName(),
802 // Find the block that defines the function represented by "sym_ctx"
855 // a function that claims to have an object pointer (through
907 // Find the block that defines the function represented by "sym_ctx"
944 // a function that claims to have an object pointer (through
1125 /// Structure to hold the info needed when comparing function
1139 // First, symplify things by looping through the symbol contexts to
1142 // the function declarations in a vector for efficiency.
1156 Function *function = sym_ctx.function;
1157 if (!function) {
1164 CompilerDeclContext func_decl_context = function->GetDeclContext();
1168 CompilerType func_clang_type = function->GetType()->GetFullCompilerType();
1176 fdi.m_name = function->GetName();
1181 // to look through before we find the function declaration. When
1200 // This function is closer; remove the old set.
1209 // Loop through our matches and add their symbol contexts to our list.
1257 // If we found more than one function, see if we can use the frame's decl
1261 // AddOneFunction will not add a function whose type has already been
1262 // added, so if there's another function in the list with a matching type,
1288 if (sym_ctx.function) {
1289 CompilerDeclContext decl_ctx = sym_ctx.function->GetDeclContext();
1298 AddOneFunction(context, sym_ctx.function, nullptr);
1300 } else if (sym_ctx.symbol) {
1301 Symbol *symbol = sym_ctx.symbol;
1302 if (target && symbol->GetType() == eSymbolTypeReExported) {
1303 symbol = symbol->ResolveReExportedSymbol(*target);
1304 if (symbol == nullptr)
1308 if (symbol->IsExternal())
1309 extern_symbol = symbol;
1311 non_extern_symbol = symbol;
1349 // Only look for functions by name out in our symbols if the function doesn't
1441 // We couldn't find a non-symbol variable for this. Now we'll hunt for a
1442 // generic data symbol, and -- if it is found -- treat it as a variable.
1704 const Symbol &symbol) {
1738 const Address symbol_address = symbol.GetAddress();
1749 parser_vars->m_lldb_sym = &symbol;
1795 Function *function,
1796 Symbol *symbol) {
1807 if (function) {
1808 Type *function_type = function->GetType();
1810 const auto lang = function->GetCompileUnit()->GetLanguage();
1811 const auto name = function->GetMangled().GetMangledName().AsCString();
1818 TypeSystem *type_system = function->GetDeclContext().GetTypeSystem();
1821 (clang::DeclContext *)function->GetDeclContext()
1836 function->DumpSymbolContext(&ss);
1839 " CEDM::FEVD Imported decl for function template"
1855 function->DumpSymbolContext(&ss);
1858 " CEDM::FEVD Imported decl for function {0} "
1867 LLDB_LOG(log, " Failed to import the function decl for '{0}'",
1875 LLDB_LOG(log, " Skipped a function because it has no type");
1882 LLDB_LOG(log, " Skipped a function because it has no Clang type");
1886 fun_address = function->GetAddress();
1893 LLDB_LOG(log, " Failed to create a function decl for '{0}' ({1:x})",
1901 " Failed to import the function type '{0}' ({1:x})"
1907 } else if (symbol) {
1908 fun_address = symbol->GetAddress();
1910 is_indirect_function = symbol->IsIndirect();
1912 LLDB_LOG(log, " AddOneFunction called with no function and no symbol");
1958 " CEDM::FEVD Found {0} function {1} (description {2}), "
1960 (function ? "specific" : "generic"), decl_name, ss.GetData(),
2000 " CEDM::AddThisType Added function $__lldb_expr "