This is an archive of the discontinued LLVM Phabricator instance.

[VFS] Add property 'fallthrough' that controls fallback to real file system.
AbandonedPublic

Authored by vsapsai on Jul 30 2018, 5:55 PM.

Details

Reviewers
None
Summary

Default property value 'true' preserves current behavior. Value 'false'
can be used to create VFS "root", file system that gives better control
over which files compiler can use during compilation.

Non-fallthrough use case changes how we treat multiple VFS overlay
files. Instead of all of them being at the same level just above a real
file system, now they are nested and subsequent overlays can refer to
files in previous overlays.

rdar://problem/39465552

Event Timeline

vsapsai created this revision.Jul 30 2018, 5:55 PM

This draft is not ready yet and published to facilitate review of https://github.com/apple/swift/pull/18328

vsapsai abandoned this revision.Sep 10 2018, 12:11 PM

Draft is abandoned in favor of D50539.