File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ set(LIBUNWIND_C_SOURCES
1616 UnwindLevel1.c
1717 UnwindLevel1-gcc-ext .c
1818 Unwind-sjlj.c
19+ Unwind-wasm.c
1920 )
2021set_source_files_properties (${LIBUNWIND_C_SOURCES}
2122 PROPERTIES
Original file line number Diff line number Diff line change 1010//
1111//===----------------------------------------------------------------------===//
1212
13- #include "config.h"
14- #include "unwind.h"
1513#include <stdbool.h>
16- #include <threads.h>
14+
15+ #include "config.h"
1716
1817#ifdef __USING_WASM_EXCEPTIONS__
1918
19+ #include "unwind.h"
20+ #include <threads.h>
21+
2022_Unwind_Reason_Code __gxx_personality_wasm0 (int version , _Unwind_Action actions ,
2123 uint64_t exceptionClass ,
2224 _Unwind_Exception * unwind_exception ,
@@ -118,4 +120,4 @@ _Unwind_GetRegionStart(struct _Unwind_Context *context) {
118120 return 0 ;
119121}
120122
121- #endif
123+ #endif // defined(__USING_WASM_EXCEPTIONS__)
You can’t perform that action at this time.
0 commit comments