Lines Matching +defs:symbol +defs:function
217 // Copy the symbol file spec over
288 // variables since the object file and symbol files might need to make
289 // function calls back into this module object. The ordering is important
290 // here because symbol files can require the module object file. So we tear
291 // down the symbol file first, then the object file.
404 // Parse the variables for this function and all its blocks
405 sc.function = f.get();
458 // Clear the result symbol context in case we don't find anything, but don't
476 // Resolve the compile unit, function, block, line table or line entry if
488 // Resolve the symbol if requested, but don't re-look it up if we've
498 [&matching_symbol](Symbol *symbol) -> bool {
499 if (symbol->GetType() != eSymbolTypeInvalid) {
500 matching_symbol = symbol;
505 sc.symbol = matching_symbol;
506 if (!sc.symbol && resolve_scope & eSymbolContextFunction &&
510 // symbol at this address.
512 sc.symbol =
516 if (sc.symbol) {
517 if (sc.symbol->IsSynthetic()) {
518 // We have a synthetic symbol so lets check if the object file from
519 // the symbol file in the symbol vendor is different than the
520 // object file for the module, and if so search its symbol table to
521 // see if we can come up with a better symbol. For example dSYM
522 // files on MacOSX have an unstripped symbol table inside of them.
529 Symbol *symbol =
532 if (symbol && !symbol->IsSynthetic()) {
533 sc.symbol = symbol;
544 // For function symbols, so_addr may be off by one. This is a convention
546 // logic here to permit symbol lookup for disassembly and unwind.
563 // function (i.e. a tail call), or the decremented address is the
564 // start of a function (i.e. some forms of trampoline), indicate
565 // that the symbol has been resolved.
573 sc.symbol =
574 nullptr; // Don't trust the symbol if the sections didn't match.
680 // If they've asked for a CPP method or function name and it can't be
688 // function parens, this can't be a eFunctionNameTypeBase
750 // In the pathologial case where the function name "looks" mangled but is
762 // If the symbol has a language, then let the language make the match.
763 // Otherwise just check that the demangled function name contains the
839 // Now check our symbol table for symbols that are code symbols if
878 if (sc.function && compiler_ctx.equals(sc.function->GetCompilerContext()))
890 // Now check our symbol table for symbols that are code symbols if
909 sc.symbol = symtab->SymbolAtIndex(symbol_indexes[i]);
910 SymbolType sym_type = sc.symbol->GetType();
911 if (sc.symbol && (sym_type == eSymbolTypeCode ||
922 file_addr_to_index[sc.function->GetAddressRange()
929 // existing function symbol contexts
931 sc.symbol = symtab->SymbolAtIndex(symbol_indexes[i]);
932 SymbolType sym_type = sc.symbol->GetType();
933 if (sc.symbol && sc.symbol->ValueIsAddress() &&
938 sc.symbol->GetAddressRef().GetFileAddress());
942 sc_list[pos->second].symbol = sc.symbol;
954 Function *function,
969 if (f && f == function)
1035 // function to correct the file and object names.
1292 sc.symbol = symtab->SymbolAtIndex(symbol_indexes[i]);
1293 if (sc.symbol)
1342 // Load the object file symbol table and any symbols from the SymbolFile that
1347 // Now let the symbol file preload its data and the symbol table will be
1357 // current symbol vendor.
1362 // Make sure we have an object file and that the symbol vendor's objfile
1378 // The symbol file might be a directory bundle ("/tmp/a.out.dSYM")
1379 // instead of a full path to the symbol file within the bundle
1386 // We specified the same bundle as the symbol file that we already
1404 // Keep all old symbol files around in case there are any lingering type
1479 " settings set target.load-script-from-symbol-file "
1663 // called as other threads still use the result of this function