steven_wu added inline comments.
================ Comment at: llvm/lib/Support/VirtualFileSystem.cpp:3002 +// The format of the stat cache is (pseudo-code): +// struct stat_cache { +// char Magic[4]; // "STAT" or "Stat" ---------------- Few comments about stats representation. 1. Can we version the stat cache file so we can evolve it in the future if needed? 2. I wonder if we need to have a more flexible representation for DataType other than `sys::fs::file_status`. Current entry is locked with the endian of the host and can't be used to encode more information than file_status. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D136651/new/ https://reviews.llvm.org/D136651 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits