[PATCH] D134267: [C++] [Modules] Support one phase compilation model for named modules

Iain Sandoe via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 11 08:25:18 PDT 2022


iains added a comment.

(trying not derail this discussion further)

- Yes, the alternate solution proposed for the "Hello World" case would work with the module mapper interface.  However, the initial discussion was simply about being able to produce both the .PCM and .O artefacts from one invocation of the FE.
- It seemed reasonable to mention (since it's not vapourware, there are draft patches), but clearly some technical issues to address.
- I do not think this patch fully addresses the issue of harmonising GCC and clang's command lines for modular builds (because it does not deal with discovery of modular code in 'normally named' sources), and my investigation of trying to do this in the driver suggests that it would be much more complex than doing it in the FE.

In the discussions, we have uncovered some other things that should be discussed elsewhere too.
(so I agree any further discussion of the alternate interface can be moved elsewhere - either wait for the rebased patches or on discourse).


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

https://reviews.llvm.org/D134267



More information about the cfe-commits mailing list