chrib added a comment.

Yes we can enable cantunwind with the nothrow gcc attribute when exceptions are 
enabled
Forcing it in exceptions are not enabled (e.g for attribute cleanup) would 
require -funwind-tables at function level anyway

So the flag should work, but conceptually I think you are right, this semantic 
should be better carried thru attributes, hopefully without adding a new one


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