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
16
16
UnwindLevel1.c
17
17
UnwindLevel1-gcc-ext.c
18
18
Unwind-sjlj.c
19
+ Unwind-wasm.c
19
20
)
20
21
set_source_files_properties (${LIBUNWIND_C_SOURCES}
21
22
PROPERTIES
Original file line number Diff line number Diff line change 10
10
//
11
11
//===----------------------------------------------------------------------===//
12
12
13
- #include "config.h"
14
- #include "unwind.h"
15
13
#include <stdbool.h>
16
- #include <threads.h>
14
+
15
+ #include "config.h"
17
16
18
17
#ifdef __USING_WASM_EXCEPTIONS__
19
18
19
+ #include "unwind.h"
20
+ #include <threads.h>
21
+
20
22
_Unwind_Reason_Code __gxx_personality_wasm0 (int version , _Unwind_Action actions ,
21
23
uint64_t exceptionClass ,
22
24
_Unwind_Exception * unwind_exception ,
@@ -118,4 +120,4 @@ _Unwind_GetRegionStart(struct _Unwind_Context *context) {
118
120
return 0 ;
119
121
}
120
122
121
- #endif
123
+ #endif // defined(__USING_WASM_EXCEPTIONS__)
You can’t perform that action at this time.
0 commit comments