[compiler-rt] [lld] [llvm] [WebAssembly] Require tags for Wasm EH and Wasm SJLJ to be defined externally (PR #159143)
Derek Schuff via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 17 15:54:18 PDT 2025
================
@@ -0,0 +1,26 @@
+//===-- __cpp_exception.S - Implement __cpp_exception.S -------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+//
+// This file implements __cpp_exception which LLVM uses to implement exception
+// handling when Wasm EH is enabled.
+//
+//===----------------------------------------------------------------------===//
+
+#ifdef __wasm_exception_handling__
----------------
dschuff wrote:
Weren't we going to put `__cpp_exception` into libc++abi instead of compiler-rt?
https://github.com/llvm/llvm-project/pull/159143
More information about the llvm-commits
mailing list