[libc-commits] [libc] [libc] Add wasm support for some submodules in llvm-libc. (PR #154383)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Wed Sep 3 10:57:06 PDT 2025


================
@@ -0,0 +1,22 @@
+//===-- Implementation of sigsetjmp ---------------------------------------===//
+//
+// 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 "hdr/offsetof_macros.h"
+#include "src/__support/common.h"
+#include "src/__support/macros/config.h"
+
+#if !defined(LIBC_TARGET_ARCH_IS_WASM)
+#error "Invalid file include"
+#endif
----------------
michaelrj-google wrote:

is this check necessary?

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


More information about the libc-commits mailing list