yaron.keren added a comment. It certainly makes sense to redirect the module request to its owner instead of duplicating it in a local copy.
There may be a change in behaviour here, pre-patch CodeGenAction::EndSourceFileAction() would take the BackendConsumer Module, keeping CodeGen Module intact whereas post-patch it takes the CodeGen Module. How does this work out? http://reviews.llvm.org/D15450 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits