cpu: prove fixed RBP frame anchors #882
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/889"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T16:07:50Z.
Refs #870 and #317.
Track RBP as a constant offset from entry RSP after a verified frame setup. RSP and RBP accesses use the same bounded frame array. Require incoming paths to agree on the anchor. Address escape and unsupported operands still refuse translation.
The source-built frame fixture checks both paths through a shared slot, including a branch that reconstructs the same anchor. Four negative controls cover a mismatched join, an escaped address, an unwritten slot and an incorrect register restore.
Windows x64, MSVC 19.51, Release:
8/8 passed. Documentation links, bidi controls, and
git diff --checkpassed.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T16:14:09Z.
Both Windows builds on
169289bstopped while generatingblast_lifted.cpp.Framecallsstep(ins, rsp, anchor), but the archive adapter still took the old signature. Auto-merge was paused, and the compatibility fix is now on this branch ata1739cb. It passes the anchor through the existing codec paths and uses the shared method for the remaining cases.ctest --preset <dev|release> --no-tests=error -R '^(cpu_native_archive_(blast|reader)|cpu_aot_(stack_frames|direct_calls|call_entries))$'passed 5/5 in each preset on Windows x64. New CI is running.