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 <[email protected]> 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 > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits -- Jean-Daniel _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
