fn record_panic_sites()Expand description
Install the hook that records a panic’s OWN backtrace.
Taken at the catch, a backtrace names the catch site, not the raise. The hook runs where the panic is raised, so a guarded block clears its slot first and reads what was recorded; an installed hook is chained rather than replaced.