about summary refs log tree commit diff
path: root/stdlib/tst-swapcontext2.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a setjmp/longjmp test between user contextsH.J. Lu2024-01-011-0/+138
Verify that setjmp and longjmp work correctly between user contexts. Arrange stacks for uctx_func1 and uctx_func2 so that ____longjmp_chk works when setjmp and longjmp are called from different user contexts. Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>