<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Fri, Aug 17, 2018 at 12:56 PM Stefan Pintilie <<a href="mailto:stefanp@ca.ibm.com">stefanp@ca.ibm.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font size="2" face="sans-serif">In that case this may be a bug on all targets.
</font><br><br><font size="2" face="sans-serif">  /// True if this function needs
an unwind table.</font><br><font size="2" face="sans-serif">  bool needsUnwindTableEntry()
const {</font><br><font size="2" face="sans-serif">    return hasUWTable() ||
!doesNotThrow();</font><br><font size="2" face="sans-serif">  }</font><br><font size="2" face="sans-serif"><br>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? </font></blockquote><div><br></div><div>Yep! </div></div></div>