-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Use .str() when converting StringRef to std::string in ModuleInterfaceLoader #33180
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
Conversation
@swift-ci please test |
This change is valid (and should be done), but a bit more context would be great. How did you find this? There was/is an implicit conversion operator for |
An issue was found when building Swift trunk against a newer version of LLVM, where, as you say, this behaviour is no longer supported. So this change is meant to unblock that. I will update the PR description with additional context. |
Build failed |
@swift-ci please test OS X platform |
Build failed |
Looks to be an environment filesystem access failure. |
Build failed |
@swift-ci please test OS X platform |
1 similar comment
@swift-ci please test OS X platform |
This implicit conversion is no longer correct and just happens to work when linking against the version of LLVM currently used in CI. The implicit conversion operator for
std::string
has been removed upstream so this change is meant to unblock being able to build against more-recent LLVM versions.