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

via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 3 05:54:26 PST 2024


================
@@ -35,7 +32,12 @@ struct _Unwind_LandingPadContext {
 
 // Communication channel between compiler-generated user code and personality
 // function
-thread_local struct _Unwind_LandingPadContext __wasm_lpad_context;
+#if __STDC_VERSION__ >= 202311L
----------------
trcrsired wrote:

> ldionne

it is a c file. not a .cpp file. it compiles with C compiler not C++

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


More information about the cfe-commits mailing list