Skip to content

Disable UBSAN on macOS #227

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

Merged
merged 1 commit into from
Nov 11, 2024
Merged

Disable UBSAN on macOS #227

merged 1 commit into from
Nov 11, 2024

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Nov 11, 2024

Building indexstore-db with ubsan enabled with an Xcode 15.1 SDK causes C++ exception to not be catchable with try {} catch {} blocks and indexstore-db relies on exception catching, possibly related to https://stackoverflow.com/questions/51673343/clang-with-libc-exceptions.

Disable UBSAN for now and re-enable it when CI nodes has been updated to Xcode 16.

Building indexstore-db with ubsan enabled with an Xcode 15.1 SDK causes C++ exception to not be catchable with `try {} catch {}` blocks and indexstore-db relies on exception catching, possibly related to  https://stackoverflow.com/questions/51673343/clang-with-libc-exceptions.

Disable UBSAN for now and re-enable it when CI nodes has been updated to Xcode 16.
@ahoppen ahoppen requested a review from bnbarham as a code owner November 11, 2024 15:26
@ahoppen
Copy link
Member Author

ahoppen commented Nov 11, 2024

@swift-ci Please test

@ahoppen ahoppen merged commit e2edd79 into swiftlang:main Nov 11, 2024
3 checks passed
@ahoppen ahoppen deleted the disable-ubsan branch November 11, 2024 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants