MrTrillian added a comment.

> I took a look at the code and it looks to me like it would be safe to change 
> ModuleMap::canonicalizeModuleMapPath() to use a drive preserving 
> canonicalization

Symbolic links can point across drives so I think a drive preserving 
canonicalization cannot be much more than a conversion to an absolute path -- 
similar to the now renamed `abs_path_preserve_drive` I'm adding to lit. I think 
the logic would have to be split across Windows (only abs) and non-Windows 
(realpath) again. I also think a cache miss in this case is ok, so I will 
follow up with a clang change implementing this. Thanks!


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154130/new/

https://reviews.llvm.org/D154130

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to