swift
06e7b6f3 - [Dependency Scanner] Refactor the global scanning service to no longer maintain scanner cache state

Commit
337 days ago
[Dependency Scanner] Refactor the global scanning service to no longer maintain scanner cache state Instead, each scan's 'ModuleDependenciesCache' will hold all of the data corresponding to discovered module dependencies. The initial design presumed the possibility of sharing a global scanning cache amongs different scanner invocations, possibly even different concurrent scanner invocations. This change also deprecates two libSwiftScan entry-points: 'swiftscan_scanner_cache_load' and 'swiftscan_scanner_cache_serialize'. They never ended up getting used, and since this code has been largely stale, we are confident they have not otherwise had users, and they do not fit with this design. A follow-up change will re-introduce moduele dependency cache serialization on a per-query basis and bring the binary format up-to-date.
Author
Committer
Parents
Loading