Commit af318ba
Implement Exception Handling for classic interpreter (#3096)
This PR adds the initial support for WASM exception handling:
* Inside the classic interpreter only:
* Initial handling of Tags
* Initial handling of Exceptions based on W3C Exception Proposal
* Import and Export of Exceptions and Tags
* Add `cmake -DWAMR_BUILD_EXCE_HANDLING=1/0` option to enable/disable
the feature, and by default it is disabled
* Update the wamr-test-suites scripts to test the feature
* Additional CI/CD changes to validate the exception spec proposal cases
Refer to:
#1884
587513f
8bebfe9
59bccdf
Signed-off-by: Ricardo Aguilar <[email protected]>
Co-authored-by: Chris Woods <[email protected]>
Co-authored-by: Rene Ermler <[email protected]>
Co-authored-by: Trenner Thomas <[email protected]>1 parent 7e65f9a commit af318ba
File tree
16 files changed
+1620
-39
lines changed- build-scripts
- core
- iwasm/interpreter
- product-mini/platforms/nuttx
- tests/wamr-test-suites
- spec-test-script
16 files changed
+1620
-39
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
338 | 343 | | |
339 | 344 | | |
340 | 345 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
460 | 468 | | |
461 | 469 | | |
462 | 470 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
68 | 71 | | |
69 | 72 | | |
70 | 73 | | |
| |||
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
77 | 83 | | |
78 | 84 | | |
79 | 85 | | |
80 | 86 | | |
81 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
82 | 91 | | |
83 | 92 | | |
84 | 93 | | |
85 | 94 | | |
86 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
87 | 101 | | |
88 | 102 | | |
89 | 103 | | |
90 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
91 | 108 | | |
92 | 109 | | |
93 | 110 | | |
| |||
201 | 218 | | |
202 | 219 | | |
203 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
204 | 239 | | |
205 | 240 | | |
206 | 241 | | |
| |||
227 | 262 | | |
228 | 263 | | |
229 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
230 | 268 | | |
231 | 269 | | |
232 | 270 | | |
| |||
265 | 303 | | |
266 | 304 | | |
267 | 305 | | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
268 | 310 | | |
269 | 311 | | |
270 | 312 | | |
| |||
294 | 336 | | |
295 | 337 | | |
296 | 338 | | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
297 | 347 | | |
298 | 348 | | |
299 | 349 | | |
| |||
420 | 470 | | |
421 | 471 | | |
422 | 472 | | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
423 | 476 | | |
424 | 477 | | |
425 | 478 | | |
| |||
433 | 486 | | |
434 | 487 | | |
435 | 488 | | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
436 | 492 | | |
437 | 493 | | |
438 | 494 | | |
439 | 495 | | |
440 | 496 | | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
441 | 500 | | |
442 | 501 | | |
443 | 502 | | |
444 | 503 | | |
445 | 504 | | |
446 | 505 | | |
447 | 506 | | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
448 | 510 | | |
449 | 511 | | |
450 | 512 | | |
| |||
628 | 690 | | |
629 | 691 | | |
630 | 692 | | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
631 | 698 | | |
632 | 699 | | |
633 | 700 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
37 | 45 | | |
38 | 46 | | |
39 | 47 | | |
| |||
0 commit comments