mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
5bddf886bb
Fix that the `file` fields in ConstExtract JSON output are all prefix mapped path when caching and prefix mapping are all enabled. This can cause the consumers of the output failed to find the source file. Now the JSON file is correct updated with the correct source file location when caching is on. This allows both un-prefix-mapped source location and relocatable source file location. As a bonus, now CAS stores the compact version of the JSON file to save space without affecting the pretty formatted final output file. rdar://173736094