[libc] Add x86_64 implementation of setjmp and longjmp.
authorSiva Chandra Reddy <sivachandra@google.com>
Tue, 1 Nov 2022 06:18:12 +0000 (06:18 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Tue, 1 Nov 2022 22:58:35 +0000 (22:58 +0000)
commit3b82b4fbd50ac15584ac88075f356f3ebf946515
tree696ec354bdb5a6d0bb395ea9a4b6ba1d9154a917
parenteb877006a61733a87257c1c999f5a0b880ccf3cd
[libc] Add x86_64 implementation of setjmp and longjmp.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D137147
17 files changed:
libc/config/linux/api.td
libc/config/linux/x86_64/entrypoints.txt
libc/config/linux/x86_64/headers.txt
libc/include/CMakeLists.txt
libc/include/llvm-libc-types/CMakeLists.txt
libc/include/llvm-libc-types/jmp_buf.h [new file with mode: 0644]
libc/include/setjmp.h.def [new file with mode: 0644]
libc/spec/stdc.td
libc/src/CMakeLists.txt
libc/src/setjmp/CMakeLists.txt [new file with mode: 0644]
libc/src/setjmp/longjmp.cpp [new file with mode: 0644]
libc/src/setjmp/longjmp.h [new file with mode: 0644]
libc/src/setjmp/setjmp.cpp [new file with mode: 0644]
libc/src/setjmp/setjmp_impl.h [new file with mode: 0644]
libc/test/src/CMakeLists.txt
libc/test/src/setjmp/CMakeLists.txt [new file with mode: 0644]
libc/test/src/setjmp/setjmp_test.cpp [new file with mode: 0644]