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

[interop] add itanium ABI support for trapping on uncaught exceptions when making a foreign call #63809

Merged
merged 14 commits into from
Feb 24, 2023

Conversation

hyp
Copy link
Contributor

@hyp hyp commented Feb 21, 2023

Enabled when C++ interop is enabled, unless Clang args disable exceptions. Still needs MSVC eh support. I'm planning to add it in a follow-up after doing some refactorings in Clang.

@hyp hyp added the c++ interop Feature: Interoperability with C++ label Feb 21, 2023
@hyp
Copy link
Contributor Author

hyp commented Feb 21, 2023

@swift-ci please test

@hyp
Copy link
Contributor Author

hyp commented Feb 21, 2023

@swift-ci please test

@hyp
Copy link
Contributor Author

hyp commented Feb 21, 2023

@swift-ci please test linux platform

@hyp
Copy link
Contributor Author

hyp commented Feb 22, 2023

@swift-ci please test

@hyp hyp changed the title [interop] add initial support for trapping on uncaught exceptions when making a foreign call [interop] add itanium ABI support for trapping on uncaught exceptions when making a foreign call Feb 22, 2023
@hyp
Copy link
Contributor Author

hyp commented Feb 22, 2023

@swift-ci please test

@hyp
Copy link
Contributor Author

hyp commented Feb 22, 2023

@swift-ci please test source compatibility

@hyp
Copy link
Contributor Author

hyp commented Feb 23, 2023

@swift-ci please test macOS

@hyp
Copy link
Contributor Author

hyp commented Feb 23, 2023

@swift-ci please test source compatibility

@hyp
Copy link
Contributor Author

hyp commented Feb 23, 2023

@swift-ci please test

@hyp
Copy link
Contributor Author

hyp commented Feb 23, 2023

@swift-ci please test source compatibility

@hyp
Copy link
Contributor Author

hyp commented Feb 23, 2023

@swift-ci please test linux platform

@hyp
Copy link
Contributor Author

hyp commented Feb 23, 2023

@swift-ci please build toolchain

@hyp
Copy link
Contributor Author

hyp commented Feb 23, 2023

@swift-ci please test linux platform

@hyp
Copy link
Contributor Author

hyp commented Feb 23, 2023

the source compat failures are unrelated (#63869)

…e enabled in trap-on-exception-execution.swift
@hyp
Copy link
Contributor Author

hyp commented Feb 23, 2023

@swift-ci please test

@hyp
Copy link
Contributor Author

hyp commented Feb 23, 2023

@swift-ci please test source compatibility

@hyp hyp merged commit fedf86f into swiftlang:main Feb 24, 2023
@finagolfin
Copy link
Contributor

@hyp, it appears this broke a couple of these tests on the Android AArch64 CI, do we just need to add -Xcc -fignore-exceptions for those Android tests too, like you did for macOS?

@hyp
Copy link
Contributor Author

hyp commented Mar 1, 2023

@buttaface yes, please add -Xcc -fignore-exceptions for these failing tests. That should fix them.

finagolfin added a commit to finagolfin/swift that referenced this pull request Mar 7, 2023
…on macOS

These flags were recently added to the macOS versions of these tests in swiftlang#63809.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ interop Feature: Interoperability with C++
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants