Skip to content

[WebAssembly] Is there a way to enable standard exception handling in clang? #149083

@sunfishcode

Description

@sunfishcode

Is there a way to enable standard (non-legacy) exception handling instructions for C++ exceptions in clang?

I know about --wasm-use-legacy-eh=false in llc, however I'm looking for in a way to do this from the clang command line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend:WebAssemblyclang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl'questionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions