[PATCH] D47190: [Driver] Add -ivfsoverlay-lib option to load VFS from shared
Andrew Savonichev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 22 02:44:56 PDT 2018
asavonic created this revision.
Herald added a subscriber: mgorny.
This patch allows clang to use a VirtualFileSystem represented by a
shared library. This VFS will be used on top of the real file system.
Library specified -ivfsoverlay-lib by must export
`clang::vfs::FileSystem *__clang_create_vfs()' function.
Unlike -ivfsoverlay option, which allows to map one real file to
another, -ivfsoverlay-lib allows to use files from memory, or do any
kind of files preprocessing.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7483 bytes
Desc: not available
More information about the cfe-commits