Home | History | Annotate | Download | only in Symbol

Lines Matching refs:function

33     function    (NULL),
40 SymbolContext::SymbolContext(const ModuleSP& m, CompileUnit *cu, Function *f, Block *b, LineEntry *le, Symbol *s) :
44 function (f),
53 SymbolContext::SymbolContext(const TargetSP &t, const ModuleSP& m, CompileUnit *cu, Function *f, Block *b, LineEntry *le, Symbol *s) :
57 function (f),
70 function (rhs.function),
82 function (NULL),
102 function = rhs.function;
117 function = NULL;
145 if (function != NULL)
149 if (function->GetMangled().GetName())
152 function->GetMangled().GetName().Dump(s);
157 const addr_t function_offset = addr.GetOffset() - function->GetAddressRange().GetBaseAddress().GetOffset();
253 if (function != NULL)
255 s->Indent(" Function: ");
256 function->GetDescription (s, level, target);
259 Type *func_type = function->GetType();
288 (*pos)->GetDescription(s, function, level, target);
315 if (function) resolved_mask |= eSymbolContextFunction;
342 *s << "Function = " << (void *)function;
343 if (function != NULL)
345 *s << " {0x" << function->GetID() << "} " << function->GetType()->GetName() << ", address-range = ";
346 function->GetAddressRange().Dump(s, target, Address::DumpStyleLoadAddress, Address::DumpStyleModuleWithFileAddress);
349 Type* func_type = function->GetType();
363 // block->Dump(s, function->GetFileAddress(), INT_MIN);
381 return lhs.function == rhs.function
392 return lhs.function != rhs.function
426 if ((scope & eSymbolContextFunction) && (function != NULL))
430 range = function->GetAddressRange();
463 // In order to get the parent of an inlined function we first need to
466 // this block or one of this blocks parents is an inlined function.
470 // "this->block" is contained in an inline function block, so to
543 if (function)
548 // is itself, or is contained within a block with inlined function
550 // defines the function.
556 // block, so the block that defines the function is the function's
562 // the function itself.
563 return &function->GetBlock(true);
597 if (function)
610 return function->GetMangled().GetName(preference);
618 // No function, return an empty string.
642 if (function)
644 if (function->GetAddressRange().GetBaseAddress().CalculateSymbolContextLineEntry(line_entry))
721 // CompUnits can't necessarily be resolved here, since an inlined function might show up in
831 // First check the current block, and if it is inlined, get the inlined function name:
846 // If it wasn't inlined, check the name in the function or symbol:
849 if (sc.function != NULL)
851 if (!sc.function->GetMangled().NameMatches(func_name))
944 s->Printf ("Function: %s.\n", m_function_spec.c_str());
1018 && sc.function == NULL
1026 // Don't merge symbols into inlined function symbol contexts
1030 if (pos->function)
1032 if (pos->function->GetAddressRange().GetBaseAddress() == sc.symbol->GetAddress())
1034 // Do we already have a function with this symbol?
1058 && symbol_sc.function == NULL
1068 // Don't merge symbols into inlined function symbol contexts
1072 if (function_sc.function)
1074 if (function_sc.function->GetAddressRange().GetBaseAddress() == symbol_sc.symbol->GetAddress())
1076 // Do we already have a function with this symbol?