We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0982ef commit e94ca36Copy full SHA for e94ca36
src/library.js
@@ -4052,8 +4052,19 @@ LibraryManager.library = {
4052
return 0; // we cannot succeed
4053
},
4054
4055
+ _Unwind_RaiseException__deps: ['__cxa_find_matching_catch', '$EXCEPTIONS'],
4056
_Unwind_RaiseException: function(ex) {
- abort('Unwind_RaiseException');
4057
+ // TODO
4058
+ Module.printErr('Warning: _Unwind_RaiseException is not correctly implemented');
4059
+ EXCEPTIONS.infos[ex] = {
4060
+ ptr: ex,
4061
+ adjusted: ex,
4062
+ type: null,
4063
+ destructor: null,
4064
+ refcount: 0
4065
+ };
4066
+ EXCEPTIONS.last = ex;
4067
+ {{{ makeThrow('ex') }}}
4068
4069
4070
_Unwind_DeleteException: function(ex) {
0 commit comments