mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Unlike the frontend, the driver doesn't account for any VFS overlays set up by the -vfsoverlay option when processing its input files. It also errors if any of those input files don't exist on the file system. This makes it impossible to use a file that only exists in the VFS as input to the driver, even though the same file would be handled without issue by the frontend. If the file doesn't exist even accounting for the VFS the frontend emits a missing file diagnostic, so this change just suppresses the existence check for inputs when a -vfsoverlay option is present. Resolves rdar://problem/72485443
1.1 KiB
1.1 KiB