+9
−8
Loading
modernc.org/jit/qbe starts to use TLSCheckpoint version 1 for setjmp and longjmp in JIT-compiled C, so its format no longer may change freely. A change to the layout, size or meaning of TLSCheckpoint now comes with a new TLSCheckpointVersion, and CheckRollback rejects checkpoints of other versions as malformed, as it rejects a wrong magic word today. Code that keeps a checkpoint in C memory sizes the space with TLSCheckpointSize, aligns it to a pointer and copies it as a value. Documentation only. Co-Authored-By:Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MmEyBeRhDkPizAphrtc4Nk