Skip to content

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.

3 participants