Skip to content

Conversation

@csegarragonz
Copy link
Collaborator

A while back we introduced a mechanism to correctly propagate exceptions originated in native symbols called from WAMR's AOT execution.

In this PR, I remove all usages of throw-ing exceptions from WAMR native symbol code.

@csegarragonz csegarragonz marked this pull request as ready for review February 9, 2024 11:44
@csegarragonz csegarragonz changed the title wamr: remove all usges of throw in native symbols code wamr: remove all usages of throw in native symbols code Feb 9, 2024
@csegarragonz csegarragonz marked this pull request as draft February 9, 2024 11:47
@csegarragonz csegarragonz marked this pull request as ready for review February 9, 2024 12:16
@codecov
Copy link

codecov bot commented Feb 9, 2024

Codecov Report

Attention: 105 lines in your changes are missing coverage. Please review.

Comparison is base (14b9485) 68.47% compared to head (b93d1bc) 68.16%.

Files Patch % Lines
src/wamr/mpi.cpp 0.00% 33 Missing ⚠️
src/wamr/filesystem.cpp 0.00% 32 Missing ⚠️
src/wamr/timing.cpp 0.00% 12 Missing ⚠️
src/wamr/process.cpp 0.00% 8 Missing ⚠️
src/wamr/stubs.cpp 0.00% 7 Missing ⚠️
src/wamr/dynlink.cpp 0.00% 6 Missing ⚠️
include/wamr/WAMRWasmModule.h 0.00% 5 Missing ⚠️
src/wamr/WAMRWasmModule.cpp 60.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #839      +/-   ##
==========================================
- Coverage   68.47%   68.16%   -0.31%     
==========================================
  Files          71       71              
  Lines        6950     6987      +37     
==========================================
+ Hits         4759     4763       +4     
- Misses       2191     2224      +33     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@csegarragonz csegarragonz merged commit ce0abf2 into main Feb 9, 2024
@csegarragonz csegarragonz deleted the wamr-exception branch February 9, 2024 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants