die_find_func_rettype(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… die_find_func_rettype β€” Kernel API Manual πŸ’…

πŸ’– NAME πŸ’–

die_find_func_rettype β€” search a return type of function ✨


✨ SYNOPSIS ✨

       Dwarf_Die * die_find_func_rettype (Dwarf_Die *cu_die , const char *name
       , Dwarf_Die *die_mem );

πŸŽ€ ARGUMENTS πŸŽ€

  • cu_die β€” a CU DIE 🫢
  • name β€” target function name πŸ”Ž
  • die_mem β€” a buffer for result DIE πŸŽ€

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so bestie, this one searches for a non-inlined function that matches name πŸ‘€. When it finds one, it stores the return type of the function in die_mem and returns it πŸ’–. If it fails, you get NULL β€” that’s the whole mood 😭.

Important vibe check: it doesn’t need to find a definition of the function, so it doesn’t match with address 🧚. Most likely, it can find a declaration at the top level 🌈. Because of that, the callback function continues to sibling entries only, periodt πŸ’….


🌸 SEE ALSO 🌸

Kernel file: ./tools/perf/util/dwarf-aux.c πŸ’œ


Source/version vibe: ./tools/perf/util πŸ’– Date: October 2026 🌸 That’s the page, bestie β€” go find that return type and slay πŸ«ΆπŸ‘‘
πŸ“¦ where this page comes from