probe_rs::debug::debug_info

Function determine_cfa

Source
pub fn determine_cfa<R: ReaderOffset>(
    unwind_registers: &DebugRegisters,
    unwind_info: &UnwindTableRow<R>,
) -> Result<Option<u64>, Error>
Available on crate feature debug only.
Expand description

Determines the CFA (canonical frame address) for the current gimli::UnwindTableRow, using the current register values.