<div>Get it. Thank you for your information.<br><br></div><div id="origbody"><div style="background: #f2f2f2;">----- 原始邮件 -----<br>发件人:David Majnemer <david.majnemer@gmail.com><br>收件人:bluedream_zqs@sina.com<br>抄送人:cfe-dev <cfe-dev@lists.llvm.org><br>主题:Re: Re: Re: [cfe-dev] Will clang 4.0 support the new LLVM Exception Handleing instructions ?<br>日期:2016年09月07日 13点11分<br></div><br><div dir="ltr"><br><div class=""><br><div class="">On Tue, Sep 6, 2016 at 10:00 PM,  <span dir="ltr"><<a target="_blank" href="mailto:bluedream_zqs@sina.com">bluedream_zqs@sina.com</a>></span> wrote:<br><blockquote class="" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Does it mean, LLVM supports the new eh instructions early before and clang use it to implement the MSVC exception handling. What 4.0 did is just export those instructions into the documentation. And we won't change the clang eh implementation in fact, still use the landingpad inst for all platform ?<br></div></blockquote><div><br></div><div>We don't use LandingPadInst for all platforms, we use it on all non-MSVC compatible platforms.  MSVC compatible EH uses the new mechanism.</div><div> </div><blockquote class="" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div><div><div style="background:#f2f2f2"><span class="">----- 原始邮件 -----<br>发件人:David Majnemer <<a target="_blank" href="mailto:david.majnemer@gmail.com">david.majnemer@gmail.com</a>><br>收件人:<a target="_blank" href="mailto:bluedream_zqs@sina.com">bluedream_zqs@sina.com</a><br>抄送人:cfe-dev <<a target="_blank" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>><br></span>主题:Re: Re: [cfe-dev] Will clang 4.0 support the new LLVM Exception Handleing instructions ?<br>日期:2016年09月07日 12点47分<br></div><div><div class=""><br><div dir="ltr"><br><div><br><div>On Tue, Sep 6, 2016 at 9:37 PM,  <span dir="ltr"><<a target="_blank" href="mailto:bluedream_zqs@sina.com">bluedream_zqs@sina.com</a>></span> wrote:<br><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><div><div style="background:#f2f2f2">----- 原始邮件 -----<br>发件人:David Majnemer <<a target="_blank" href="mailto:david.majnemer@gmail.com">david.majnemer@gmail.com</a>><br>收件人:<a target="_blank" href="mailto:bluedream_zqs@sina.com">bluedream_zqs@sina.com</a><br>抄送人:cfe-dev <<a target="_blank" href="mailto:cfe-dev@lists.llvm.org">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 style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><div><div><br><div><br><div>On Tue, Sep 6, 2016 at 6:49 PM, via cfe-dev <span dir="ltr"><<a target="_blank" href="mailto:cfe-dev@lists.llvm.org">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 target="_blank" href="http://llvm.org/docs/ExceptionHandling.html#new-exception-handling-instructions">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 target="_blank" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a target="_blank" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer">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>

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

</div>