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

Tom Honermann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 19 14:44:31 PDT 2022


tahonermann added a comment.

> In a pre-scanned world, the build system does know the info for each source file (published and dependent modules) [which ought to dispel some of the concerns raised about not knowing about possible outputs for implementation/interface cases].
>
> In a discovery world, the interface to the build system carries all of this traffic anyway so that the command line would only be providing pre-set data for that.

This does not cover all build systems. For example, Coverity relies on observing the compiler invocations performed by another build system and relies on interpreting the command lines of those invocations in order to identify all inputs and outputs (and Coverity does require awareness of outputs as well as inputs). Other tools that operate on a compilation database or monitors like Build EAR <https://github.com/rizsotto/Bear> have similar requirements.


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

https://reviews.llvm.org/D134267



More information about the cfe-commits mailing list