Skip to content

Support filter for exception handling #264

Open
@antoyo

Description

@antoyo

rust-lang/rust#104070 (comment)

For this C++:

void b() noexcept {
    f();
}

we get this gimple:

void b ()
{
  try
    {
      f ();
    }
  catch
    {
      <<<eh_must_not_throw (terminate)>>>
    }
}

Seems like we just need to set TRY_CATCH_IS_CLEANUP on TRY_CATCH_EXPR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlibgccjitrequires a change in libgccjit

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions