[PATCH] Add an optional mapping from source paths to source contents.

Jean-Daniel Dupas devlists at shadowlab.org
Fri Nov 8 11:59:31 PST 2013

Isn't clang using 'mmap' to load files ? 
If so, loading the same file many times would probably fill the virtual memory space (which is not an issue on 64bit arch), but not the RAM, especially if header files are opened read-only.

Le 8 nov. 2013 à 20:24, Dmitri Gribenko <gribozavr at gmail.com> a écrit :

>  Right; but then there is CompilationDatabase::getAllCompileCommands() that returns std::vector<CompileCommand> -- I am not sure that this vector for LLVM/Clang database will fit into RAM of an average workstation...
> http://llvm-reviews.chandlerc.com/D2121
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

-- Jean-Daniel

More information about the cfe-commits mailing list