Skip to content

[CAS] Improve error message when module cache key is missing #10517

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

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

Conversation

cachemeifyoucan
Copy link

When a module cache key is missing, emit better diagnostics that

  • It is clear it is a cache key missing, so a potential dependency missing, not a CAS error
  • For other compiler consumers, like a swift compiler that uses a different cache key schema than the clang include tree, it is possible that a detailed cache key cannot be printed. Don't emit extra schema mismatch message that can confuse the users

rdar://149707188

When a module cache key is missing, emit better diagnostics that

* It is clear it is a cache key missing, so a potential dependency
  missing, not a CAS error
* For other compiler consumers, like a swift compiler that uses a
  different cache key schema than the clang include tree, it is possible
  that a detailed cache key cannot be printed. Don't emit extra schema
  mismatch message that can confuse the users

rdar://149707188
@cachemeifyoucan
Copy link
Author

@swift-ci please test llvm

2 similar comments
@cachemeifyoucan
Copy link
Author

@swift-ci please test llvm

@cachemeifyoucan
Copy link
Author

@swift-ci please test llvm

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.

1 participant