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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to