[cfe-dev] RFC: A virtual file system for clang
Argyrios Kyrtzidis
kyrtzidis at apple.com
Fri Feb 7 09:39:14 PST 2014
Hi Manuel,
On Feb 7, 2014, at 1:01 AM, Manuel Klimek <klimek at google.com> wrote:
>
> Some non-goals (at least for a first iteration):
> 1) File system modification operations (create_directory, rename, etc.). Clients will continue to use the real file system for these operations, and we don’t intend to detect any conflicts this might create.
> 2) Completely virtual file buffers that do not exist on disk.
>
> I'd vote for making that an explicit goal; two reasons:
> 1. I don't think it'll make a first iteration harder to implement
> 2. saying that we'll do things like that later will almost certainly make it super-hard to do later
>
We don’t have the bandwidth to design / implement / test fully virtual files.
We also don’t have uses for them (apart from replacing the remapping of buffers in the SourceManager) so I think this should be driven by someone that actually needs this and is going to dogfood it.
Apart from that, we are definitely trying to make sure we will not do anything that will make adding virtual files prohibitively difficult, we think it can be added on top with maybe some refinements on the interface.
While we are implementing the VFS if you think we are doing something that will make virtual file buffers “super-hard to do later” please let us know.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140207/6c35b5e3/attachment.html>
More information about the cfe-dev
mailing list