<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 6, 2016 at 9:37 PM,  <span dir="ltr"><<a href="mailto:bluedream_zqs@sina.com" target="_blank">bluedream_zqs@sina.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><div><div style="background:#f2f2f2">----- 原始邮件 -----<br>发件人:David Majnemer <<a href="mailto:david.majnemer@gmail.com" target="_blank">david.majnemer@gmail.com</a>><br>收件人:<a href="mailto:bluedream_zqs@sina.com" target="_blank">bluedream_zqs@sina.com</a><br>抄送人:cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>><br>主题:Re: [cfe-dev] Will clang 4.0 support the new LLVM Exception Handleing instructions ?<br>日期:2016年09月07日 12点29分<br></div><br><div dir="ltr">Do we have any plan to make the new eh instructions as the default implementation for all platforms ?</div></div></blockquote><div><br></div><div>No, that would result in a performance regression for non-MSVC exception handling.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><div><div class="h5"><br><div><br><div>On Tue, Sep 6, 2016 at 6:49 PM, via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div> LLVM support new eh instructions.(<a href="http://llvm.org/docs/ExceptionHandling.html#new-exception-handling-instructions" target="_blank">http://llvm.org/<wbr>docs/ExceptionHandling.html#ne<wbr>w-exception-handling-instructi<wbr>ons</a>) Clang still use the old landingpad inst to support the C++ exceptions. Do we have any plan to enable the support of the new exception instructions ?<br></div></blockquote><div><br></div><div>Clang already supports the new C++ exception handling instructions, it uses them exclusively to implement MSVC compatible exception handling.  The landingpad scheme is retained because it provides a degree of flexibility (and thus optimization opportunities) which isn't available in the new instructions.</div><div> </div><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><br>Thank you.<br></div></div><br>______________________________<wbr>_________________<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="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div></div></div></div>

</div></blockquote></div><br></div></div>