[clang] Llvm modules on demand bmi (PR #71773)

Boris Kolpackov via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 9 00:03:56 PST 2023


boris-kolpackov wrote:

>    clang++  -std=c++20 foo.cpp -c -fmodule-file=X=some/dir/X.pcm

Hm, according to https://clang.llvm.org/docs/StandardCPlusPlusModules.html this can already be achieved with the `-fmodule-output` options (which I was about to try in `build2`). Is there a reason a different option is used for what seems to be the same functionality. Or am I missing something here?

> This is the main point of the patch - to do this efficiently.

Again, just want to clarify: as I understand it, this patch solves the scaling issue Ben reported (https://github.com/llvm/llvm-project/issues/60996) but without the thin/fat BMI complications, correct?

https://github.com/llvm/llvm-project/pull/71773


More information about the cfe-commits mailing list