Skip to content

Add support for C++ exceptions #116

@PiotrSikora

Description

@PiotrSikora

Host implementation should support running Wasm code that was built with C++ exceptions.

Notably, those functions must be implemented:

  • __cxa_begin_catch,
  • __cxa_end_catch,
  • __cxa_free_exception,
  • __cxa_get_exception_ptr,
  • __cxa_uncaught_exceptions,
  • __cxa_find_matching_catch_2, __cxa_find_matching_catch_3, __cxa_find_matching_catch_4,
  • __resumeException,
  • getTempRet0,
  • invoke_ii, invoke_iii, invoke_iiii, invoke_iiiii, invoke_v, invoke_vi, invoke_vii, invoke_viii, invoke_viiii,
  • llvm_eh_typeid_for.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions