Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Test that we can throw and catch the same exception multiple times sequentially. #188

Merged
merged 2 commits into from
Dec 24, 2021

Conversation

triplef
Copy link
Member

@triplef triplef commented Dec 15, 2020

This originally came up as an issue with libc++abi support (#152), but is not specific to that ABI.

It was extracted from the libc++ branch as to unblock merging #152.

The test currently fails, but the solution was discussed in #152 (comment).

@triplef triplef mentioned this pull request Dec 15, 2020
@davidchisnall davidchisnall force-pushed the test-objcxx-interop-twice branch from b0787e1 to 28d0445 Compare December 17, 2020 13:11
@davidchisnall davidchisnall requested a review from ngrewe December 17, 2020 13:23
@davidchisnall
Copy link
Member

Rebased on master and with the fix from #152 added.

@triplef
Copy link
Member Author

triplef commented Dec 17, 2020

Nice, thank you!

ngrewe and others added 2 commits December 23, 2021 08:36
…imes sequentially.

This originally came up as an issue with libc++abi support (#152), but is not specific to that ABI.
As discussed in #152, use the function defined in the Itanium C++ ABI to
check whether the thrown exception is the current caught C++ exception
and needs rethrowing via `__cxa_rethrow()`.
@triplef triplef force-pushed the test-objcxx-interop-twice branch from cf20045 to 7dcd112 Compare December 23, 2021 07:41
@triplef
Copy link
Member Author

triplef commented Dec 23, 2021

I rebased to fix a small merge conflict. I think we can merge this @davidchisnall?

@davidchisnall davidchisnall merged commit a357cb9 into master Dec 24, 2021
@davidchisnall davidchisnall deleted the test-objcxx-interop-twice branch December 24, 2021 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants