[PATCH] D28981: Use GNU-style attributes for several __throw_XXX() functions

Marshall Clow via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 23 14:15:11 PST 2017


mclow.lists added a comment.

> In https://reviews.llvm.org/rL279744, __throw_XXX() functions were introduced, partially for compatibility with software compiled against libstdc++.

You're working from a false premise.  These functions were not added for compatibility with libstdc++, but rather to encapsulate the mechanism for throwing an exception - to localize the changes needed to support `-fno-exceptions`


https://reviews.llvm.org/D28981





More information about the cfe-commits mailing list