dwarf_unwind_stack(9)
π dwarf_unwind_stack(9) β Kernel API Manual π
okay bestie, welcome to the kernel API manual page for dwarf_unwind_stack(9). it's giving stack-unwinding realness, and we're keeping every detail. π«Ά
πΈ NAME πΈ
dwarf_unwind_stack β unwind the stack
π SYNOPSIS π
struct dwarf_frame * dwarf_unwind_stack (unsigned long pc , struct dwarf_frame *prev );
π¦ ARGUMENTS π¦
pcβ address of the function to unwindprevβstruct dwarf_frameof the previous stackframe on the callstack
π DESCRIPTION π
okay so this function returns a struct dwarf_frame that represents the most recent frame on the callstack. and the lower (older) stack frames? each one is linked via the "prev" member. that's the whole lore, no cap. β¨
π SEE ALSO π
Kernel file ./arch/sh/kernel/dwarf.c β plus the whole crew:
dwarf_frame_alloc_reg(9)dwarf_frame_reg(9)dwarf_read_addr(9)dwarf_read_uleb128(9)dwarf_read_leb128(9)dwarf_read_encoded_value(9)dwarf_entry_len(9)dwarf_lookup_cie(9)dwarf_lookup_fde(9)dwarf_cfa_execute_insns(9)dwarf_free_frame(9)dwarf_parse_section(9)module_dwarf_cleanup(9)dwarf_unwinder_init(9)
cute sign-off: source ./arch/sh/kernel, October 2026, page dwarf_unwind_stack(9). mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms