efriedma added a comment.

Oh, you don't want to emit them by default. :)

I'm not sure what you're trying to do here... there are three possibilities:

1. The function could have an exception thrown through it, so we need an unwind 
table.
2. The function can't have an exception thrown through it, and we don't need an 
unwind table.
3. The function can't have an exception thrown through it, but we need an 
unwind table anyway for ABI reasons.

We don't really care whether "uwtable" is set in the first scenario; it's 
obvious we need the table anyway.  So I'm not sure what you're trying to 
accomplish here.  (This is why I suggested using needsUnwindTableEntry() on the 
LLVM patch.)


https://reviews.llvm.org/D31140



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to