pub fn analyze_function(name: &str, instrs: &[ArmInstruction]) -> StackFrameExpand description
Walk one function’s FINAL emitted stream and record its own stack profile.
The running delta is signed because an epilogue POP/ADD SP legitimately
brings it back up; the reported figure is the maximum depth reached, which
is what an embedder must reserve.