pub unsafe fn push_frame(
ctx: *mut RuntimeContext,
meta: *const FunctionDebugMeta,
) -> DebugFrameGuardExpand description
Claim a debug frame for meta on ctx’s debug stacks, the way a generated
prologue does: one frame entry, and meta.local_count value slots that start
as None.
§Safety
ctx must point at a live context wired by
Runtime::context; meta must point at a
FunctionDebugMeta (with a locals array of local_count entries) valid
for at least as long as the returned guard; and the runtime that owns the
stacks must outlive the guard.
§Panics
If ctx is null, either header is null, or meta is null.