ilyakuteev added a comment.

@teemperor 's test shows the problem correctly.

In my case I am working on a dist-compilation system (similar to distcc) for 
objective-c with `-fmodules`. Our previous generation used tmpfs for module 
cache and was ephemeral (Unique temp module cache per compilation). Now we want 
to move module cache to ext4 filesystem to make it actually cache modules 
across compilations. This bug is blocking us from doing this change, so I came 
up with this draft fix.

I think that removing inode cache for PCMs may be some kind of final solution. 
(For example we can make another `FileManager.getNoncacedFileRef` method).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97850

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

Reply via email to