add more stubs for pthreading, exceptions, and some invokes

This commit is contained in:
Mark McCaskey
2019-03-29 13:42:13 -07:00
parent c6a597f3a2
commit accbe52dd6
4 changed files with 80 additions and 0 deletions

View File

@ -14,3 +14,12 @@ pub fn ___cxa_throw(ctx: &mut Ctx, _ptr: u32, _ty: u32, _destructor: u32) {
debug!("emscripten::___cxa_throw");
_abort(ctx);
}
pub fn ___cxa_begin_catch(_ctx: &mut Ctx, _exception_object_ptr: u32) -> i32 {
debug!("emscripten::___cxa_begin_catch");
-1
}
pub fn ___cxa_end_catch(_ctx: &mut Ctx) {
debug!("emscripten::___cxa_end_catch");
}