Skip to content

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

Merged
akyrtzi merged 1 commit intoswiftlang:release/6.2from
sina-mahdavi:sina-mahdavi/cherry-pick-fix-llvm-prefix-mapping-calls
Jun 27, 2025
Merged

[6.2🍒] fix calls to llvm prefix mapping functions to use space-separated option format#82513
akyrtzi merged 1 commit intoswiftlang:release/6.2from
sina-mahdavi:sina-mahdavi/cherry-pick-fix-llvm-prefix-mapping-calls

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