<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2">Hi ,<div><br></div><div>I Want to unsubscribe emails.</div><div>Please do need full.</div><div><br></div><div>Regards,</div><div>Srinivas</div><div><br><font color="#990099">-----"cfe-dev" <<a href="mailto:cfe-dev-bounces@lists.llvm.org" target="_blank">cfe-dev-bounces@lists.llvm.org</a>> wrote: -----</font><div class="iNotesHistory" style="padding-left:5px;"><div style="padding-right:0px;padding-left:5px;border-left:solid black 2px;">To: Fangqing Du <<a href="mailto:fangqingdu@gmail.com" target="_blank">fangqingdu@gmail.com</a>><br>From: Alexandre Isoard via cfe-dev <cfe-dev@lists.llvm.org><br>Sent by: "cfe-dev" <cfe-dev-bounces@lists.llvm.org><br>Date: 07/02/2019 04:23AM<br>Cc: Clang Dev <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>><br>Subject: Re: [cfe-dev] Delay Clang CodeGen until AST is fully populated<br><br><h5 font=""><font color="#ff6347"><span style="font-size: 14px; font-weight: 400;">"External email. Open with Caution"</span></font><br></h5><div dir="ltr"><div>We are really struggling with separating Sema and CodeGen.</div><div><br></div><div>Here are the few dead-end we hit:</div><div><br></div><div>1) We tried to use -emit-ast to get a PCH-like AST, but it seems it does not do template specialization.</div><div>That is, when we feed it again into clang, some of the Sema is still run after CodeGen.</div><div>We stopped there, because we are not sure this can help us.</div><div><br></div><div>2) We tried -traditional-cpp and -no-integrated-cpp which is supposed to forbid clang driver to merge the different stages (it didn't help). I do not know if this was effective, but we didn't see any difference. So maybe it is the same issue as the previous one? We also stopped there, because we use clang -cc1 anyway.</div><div><br></div><div>3) We started looking into ASTConsumer(s) and we are thinking if it is possible to write an ASTConsumer that "forward" the AST to the CodeGen and only implement the HandleTranslationUnit so that it ensure it receive the entire AST before forwarding it. But I guess we need to explore it then run manually each of the CodeGen method? Will it have the same issue about template instantiation?</div><div><br></div><div>We would really appreciate if anybody could shed some light, we don't know that part of the infrastructure.</div><div>Are we even going into the right direction? Is there already an option that does that?</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><b>Alexandre Isoard</b><br></div></div></div>
<div><font face="Courier New,Courier,monospace" size="2">_______________________________________________<br>cfe-dev mailing list<br><a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br><a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br></font></div></cfe-dev-bounces@lists.llvm.org></cfe-dev@lists.llvm.org></div></div></div></font><p>=====-----=====-----=====<br>
Notice: The information contained in this e-mail<br>
message and/or attachments to it may contain <br>
confidential or privileged information. If you are <br>
not the intended recipient, any dissemination, use, <br>
review, distribution, printing or copying of the <br>
information contained in this e-mail message <br>
and/or attachments to it are strictly prohibited. If <br>
you have received this communication in error, <br>
please notify us by reply e-mail or telephone and <br>
immediately and permanently delete the message <br>
and any attachments. Thank you</p>
<p></p>