Skip to content

[6.2🍒] fix calls to llvm prefix mapping functions to use space-separated option format #82513

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

sina-mahdavi
Copy link
Contributor

Explanation: Use the new space-separated format for the -fdepscan-prefix-map flag when calling LLVM from Swift, as well as using the new API used to implement that option which uses std::pair instead of single strings.

Scope: This should not cause any backward compatibility issues since it is not changing any option for Swift itself, it is just adjusting it to use the new option introduced in swiftlang/llvm-project#10740.

Issues: rdar://129434789

Original PRs: #81792

Risk: Low, does not change Swift's API or CLI flags.

Testing: The new functionality is implemented and tested in the corresponding LLVM PR swiftlang/llvm-project#10740, there are no tests added in this PR.

Reviewers: @akyrtzi @cachemeifyoucan @benlangmuir

@sina-mahdavi
Copy link
Contributor Author

Please test with the following pull request:
swiftlang/llvm-project#10740

@swift-ci please test

@sina-mahdavi
Copy link
Contributor Author

Please test with the following pull request:
swiftlang/llvm-project#10740

@swift-ci please test Windows platform

@akyrtzi akyrtzi merged commit 0127926 into swiftlang:release/6.2 Jun 27, 2025
5 checks passed
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.

3 participants