================
@@ -204,6 +205,12 @@ static void ParseArgs(int argc, char **argv) {
CacheNegativeStats = Args.hasArg(OPT_cache_negative_stats);
+ for (const llvm::opt::Arg *A : Args.filtered(OPT_invalidated_path_EQ)) {
+ SmallString<256> Path(A->getValue());
+ llvm::sys::fs::make_absolute(Path);
----------------
ojhunt wrote:
remove_dots? but also: maybe real_path? resolve symlinks and symbols etc?
OTOH maybe we can trust user provided paths?
https://github.com/llvm/llvm-project/pull/229559
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits