ChuanqiXu9 wrote: > Separately, even with named modules, with or without > `-fmodules-embed-all-files`, the `INPUT_FILE` paths in the PCM are still > absolute. I guess with `-fmodules-embed-all-files` those paths are not used > since the source files are embedded, which I suppose is how it avoids > problems with the absolute paths. But if we want relocatable modules without > using `-fmodules-embed-all-files` though, is there a solution for that?
`-fmodules-embed-all-files` doesn't solve the problem for encoding/decoding file paths. It solves the problem when we want to access file in the BMIs. https://github.com/llvm/llvm-project/pull/135147 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits