HomePhabricator

[Modules] Fix module hash computation when module file extensions are involved.
940124f4ac92Unpublished

Authored by doug.gregor on Oct 3 2016, 12:12 AM.

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

[Modules] Fix module hash computation when module file extensions are involved.

Fix an egregious error in with modules and module file extensions, where only the hash code of the module file extension and sysroots would affect the module cache, leading to module file collisions. The effect of this error was likely masked by the old client of module file extensions (Swift) embedding Clang version information.

apple-llvm-split-commit: 977557058d1208e7d099569d3327c00c1aa4b1cf
apple-llvm-split-dir: clang/

Details

Committed
doug.gregorOct 3 2016, 12:42 AM
Parents
rG14fb7a6aef93: [API Notes] Add Swift versioning to API notes files
Branches
Unknown
Tags
Unknown