[libc-commits] [libc] [libc] implement sigsetjmp/siglongjmp for x86-64 (PR #136072)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Thu Apr 17 16:33:03 PDT 2025


================
@@ -0,0 +1,70 @@
+//===-- Implementation of setjmp ------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "src/setjmp/sigsetjmp.h"
+#include "src/__support/common.h"
+#include "src/__support/macros/config.h"
+#include "src/setjmp/setjmp_impl.h"
+#include "src/setjmp/sigsetjmp_epilogue.h"
+
+#define __need_offsetof
+#include <stddef.h> // compiler resource header
----------------
michaelrj-google wrote:

nit: ideally this would be in a proxy header.

https://github.com/llvm/llvm-project/pull/136072


More information about the libc-commits mailing list