swift
fa71d1da - [Serialization] Store the explicit module map in swiftmodules

Commit
3 days ago
[Serialization] Store the explicit module map in swiftmodules Currently only the top level dependencies get serialized in Swift modules. In practice this is not enough information to fully replay a module import sequence, especially when the dependencies include binary SDK modules that were built elsewhere. In this case we cannot follow the links to its depenencies, since they refer to paths on a different machine or unavailable CAS. During an EBM build, the dependency scanner writes the complete list of dependencies into a json file called the explicit Swift module map -- including the local locations of the dependencies of binary SDK modules. Using this LLDB can replay a module import with 100% accuracy. rdar://170514919
Author
Committer
Parents
Loading