[libc-commits] [libc] Reland "[libc] build fix for sigsetjmp (#137047)" (PR #137214)
Schrodinger ZHU Yifan via libc-commits
libc-commits at lists.llvm.org
Thu Apr 24 16:36:43 PDT 2025
================
@@ -49,9 +53,22 @@ typedef struct {
#endif
#else
#error "__jmp_buf not available for your target architecture."
+#endif
+ // TODO: implement sigjmp_buf related functions for other architectures
+ // Issue: https://github.com/llvm/llvm-project/issues/136358
+#if defined(__i386__) || defined(__x86_64__)
----------------
SchrodingerZhu wrote:
Ideally, we will need [`_POSIX_SOURCE`](https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html) but I don't think this system is implemented in libc currently.
https://github.com/llvm/llvm-project/pull/137214
More information about the libc-commits
mailing list