回复:Re: Re: Will clang 4.0 support the new LLVM Exception Handleing instructions ?

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 ?

发件人:David Majnemer david.majnemer@gmail.com
收件人:bluedream_zqs@sina.com
抄送人:cfe-dev cfe-dev@lists.llvm.org
主题:Re: Re: [cfe-dev] Will clang 4.0 support the new LLVM Exception Handleing instructions ?
日期:2016年09月07日 12点47分

发件人:David Majnemer <david.majnemer@gmail.com>
收件人:bluedream_zqs@sina.com
抄送人:cfe-dev <cfe-dev@lists.llvm.org>
主题:Re: [cfe-dev] Will clang 4.0 support the new LLVM Exception Handleing instructions ?
日期:2016年09月07日 12点29分

Do we have any plan to make the new eh instructions as the default implementation for all platforms ?

No, that would result in a performance regression for non-MSVC exception handling.

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 ?

We don't use LandingPadInst for all platforms, we use it on all non-MSVC
compatible platforms. MSVC compatible EH uses the new mechanism.