[cfe-dev] Enable -funwind-tables by default on Power PC (Bugzilla Bug 32611)

Reid Kleckner via cfe-dev cfe-dev at lists.llvm.org
Fri Aug 17 14:12:35 PDT 2018


On Fri, Aug 17, 2018 at 12:56 PM Stefan Pintilie <stefanp at ca.ibm.com> wrote:

> In that case this may be a bug on all targets.
>
>   /// True if this function needs an unwind table.
>   bool needsUnwindTableEntry() const {
>     return hasUWTable() || !doesNotThrow();
>   }
>
> This is part of the target independent Function class. We determine if we
> need an unwind table entry by checking that we either have the uwtable
> attribute that I mentioned or that we do not have nounwind. What you are
> saying is that in this case we should also check to see if the function has
> an EH personality. Does that sound reasonable?


Yep!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180817/2909cc6e/attachment.html>


More information about the cfe-dev mailing list