[compiler-rt] [libcxx] [libcxxabi] [libunwind] [libunwind][libcxx][libcxxabi][compiler-rt-builtins] Fix Exception Handling build for wasm (PR #79667)

Alexander Richardson via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 1 12:51:46 PDT 2024


================
@@ -29,22 +29,21 @@
 
 namespace __cxxabiv1 {
 
+#    if defined(__wasm__)
+typedef void* (*__libcpp_exception_destructor_func)(void*);
----------------
arichardson wrote:

Could keep the existing comment here `// In Wasm, a destructor returns its argument` to explain why it is different?

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


More information about the cfe-commits mailing list