[PATCH] D130710: [ASTWriter] Provide capability to output a PCM/PCH file that does not write out information about its output path

Vassil Vassilev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 28 10:51:38 PDT 2022


v.g.vassilev added a comment.

In D130710#3685470 <https://reviews.llvm.org/D130710#3685470>, @akyrtzi wrote:

> @v.g.vassilev is the functionality of "write `ORIGINAL_PCH_DIR` and resolve headers relative to it if PCH file and headers moved together" used by `Cling`?

We currently use `-fmodules-embed-all-files` which zips all header files in a blob in the PCH/PCM that gives us flexibility to not require the headers to be present at a specific location. We have mostly moved to PCMs and the PCH is of less interest to us. Does that patch help making the implicitly built module files easier to relocate?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130710



More information about the cfe-commits mailing list