Skip to content

[5.7][Index/IndexStore] Preserve the canonical output file path #4766

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

Conversation

DavidGoldman
Copy link

Additionally, make sure we don't accidentally convert the output file
path to the local equivalent when computing the unit name in IndexStore,
as that will accidentally treat it as a different unit.

This fix is critical to get IndexStore-DB working with path remappings, in particular with the explicit unit output paths case.

Additionally, make sure we don't accidentally convert the output file
path to the local equivalent when computing the unit name in IndexStore,
as that will accidentally treat it as a different unit.
@DavidGoldman DavidGoldman changed the title [Index/IndexStore] Preserve the canonical output file path [5.7][Index/IndexStore] Preserve the canonical output file path May 27, 2022
@bnbarham
Copy link

swiftlang/swift#59121

@swift-ci please test

@bnbarham bnbarham requested review from bnbarham and akyrtzi May 27, 2022 20:16
@bnbarham
Copy link

@swift-ci please test

@bnbarham bnbarham merged commit d336db2 into swiftlang:swift/release/5.7 May 31, 2022
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