Lines Matching refs:function

318 struct function  struct
342 struct function *function; member
910 return strcmp (a1->function->name, a2->function->name); in function_addrs_compare()
2237 struct function *function, uint64_t lowpc, uint64_t highpc, in add_function_range() argument
2252 && function == p->function) in add_function_range()
2268 p->function = function; in add_function_range()
2278 struct unit *u, struct function *function, in add_function_ranges() argument
2318 if (!add_function_range (state, ddata, function, low + base, in add_function_ranges()
2346 struct function *function; in read_function_entry() local
2374 function = NULL; in read_function_entry()
2377 function = ((struct function *) in read_function_entry()
2378 backtrace_alloc (state, sizeof *function, in read_function_entry()
2380 if (function == NULL) in read_function_entry()
2382 memset (function, 0, sizeof *function); in read_function_entry()
2417 function->caller_filename = ""; in read_function_entry()
2427 function->caller_filename = in read_function_entry()
2435 function->caller_lineno = val.u.uint; in read_function_entry()
2456 function->name = name; in read_function_entry()
2467 if (function->name == NULL) in read_function_entry()
2468 function->name = val.u.string; in read_function_entry()
2475 function->name = val.u.string; in read_function_entry()
2517 if (is_function && function->name == NULL) in read_function_entry()
2519 backtrace_free (state, function, sizeof *function, in read_function_entry()
2528 if (!add_function_ranges (state, ddata, u, function, ranges, in read_function_entry()
2536 if (!add_function_range (state, ddata, function, lowpc, highpc, in read_function_entry()
2542 backtrace_free (state, function, sizeof *function, in read_function_entry()
2584 function->function_addrs = faddrs; in read_function_entry()
2585 function->function_addrs_count = fvec.count; in read_function_entry()
2671 report_inlined_functions (uintptr_t pc, struct function *function, in report_inlined_functions() argument
2676 struct function *inlined; in report_inlined_functions()
2679 if (function->function_addrs_count == 0) in report_inlined_functions()
2683 bsearch (&pc, function->function_addrs, in report_inlined_functions()
2684 function->function_addrs_count, in report_inlined_functions()
2690 while (((size_t) (function_addrs - function->function_addrs) + 1 in report_inlined_functions()
2691 < function->function_addrs_count) in report_inlined_functions()
2698 inlined = function_addrs->function; in report_inlined_functions()
2738 struct function *function; in dwarf_lookup_pc() local
2931 function = function_addrs->function; in dwarf_lookup_pc()
2936 ret = report_inlined_functions (pc, function, callback, data, in dwarf_lookup_pc()
2941 return callback (data, pc, filename, lineno, function->name); in dwarf_lookup_pc()