8000 wamr: remove all usages of throw in native symbols code by csegarragonz · Pull Request #839 · faasm/faasm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

wamr: remove all usages of throw in native symbols code #839

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 9, 2024

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
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.

1 participant
0