Skip to content

[cxx-interop][SwiftCompilerSources] Workaround for std::string crash on arm64 Linux #59462

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
Jun 16, 2022

Conversation

egorzhdan
Copy link
Contributor

std::string constructor crashes when called from SILBridging.cpp, likely due to a miscompile. This is a workaround that fixes the crash.

…h on arm64 Linux

`std::string` constructor crashes when called from `SILBridging.cpp`, likely due to a miscompile. This is a workaround that fixes the crash.
@egorzhdan egorzhdan added the c++ interop Feature: Interoperability with C++ label Jun 15, 2022
@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test

@egorzhdan egorzhdan requested a review from eeckstein June 15, 2022 15:34
@egorzhdan egorzhdan merged commit 1d47f1a into main Jun 16, 2022
@egorzhdan egorzhdan deleted the egorzhdan/cxx-libswift-workaround-arm64-linux-crash branch June 16, 2022 10:58
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.

2 participants