Skip to content
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

[DNM] Use normalized paths when emitting a module trace. #29967

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

[DNM] Use normalized paths when emitting a module trace. #29967

wants to merge 1 commit into from

Conversation

varungandhi-apple
Copy link
Contributor

No description provided.

@varungandhi-apple
Copy link
Contributor Author

@swift-ci please smoke test Windows platform

@varungandhi-apple
Copy link
Contributor Author

varungandhi-apple commented Feb 20, 2020

Actually, this is not 100% right, because when we search, we should normalize the paths as well.

@varungandhi-apple
Copy link
Contributor Author

@swift-ci please smoke test

@varungandhi-apple
Copy link
Contributor Author

But I think this should work as a temporary fix since the paths that are problematic are the ones in the map. I wrote some code to normalize the paths that are being looked up, but that crashed for some odd reason inside DenseMap's find, probably a lifetime problem 😕.

@compnerd
Copy link
Collaborator

@swift-ci please test Windows platform

@compnerd compnerd mentioned this pull request Feb 20, 2020
@compnerd
Copy link
Collaborator

@swift-ci please test Windows platform

@varungandhi-apple
Copy link
Contributor Author

Marking DNM temporarily, I'll get back to this on the weekend.

@varungandhi-apple varungandhi-apple changed the title Use normalized paths when emitting a module trace. [DNM] Use normalized paths when emitting a module trace. Feb 21, 2020
@shahmishal
Copy link
Member

@swift-ci please test Windows platform

@shahmishal
Copy link
Member

Please update the base branch to main by Oct 5th otherwise the pull request will be closed automatically.

  • How to change the base branch: (Link)
  • More detail about the branch update: (Link)

@varungandhi-apple varungandhi-apple changed the base branch from master to main October 1, 2020 16:01
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.

None yet

3 participants