sheredom wrote:

> > Build machine A with a path E:/foo/header.h which wants to make a PCH from 
> > it. We want it to remap E:/foo -> Z:/fake.
> 
> What I have in mind is that you have a VFS on build machine A that maps 
> Z:/fake (virtual path) -> E:/foo (external path), with use-external-names: 
> false (EDIT: and your compiler invocation is also written in terms of 
> Z:/fake). In principle, this should give you a PCH (+ Modules) that only 
> refers to Z:/fake, the virtual path. Another way to think about this is 
> except for the VFS layer, clang would not even know those external paths 
> exist, only about Z:/fake.

Oh - the penny is finally dropping. Lemme give that a try!

https://github.com/llvm/llvm-project/pull/106577
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to