rmaprath added a comment. In http://reviews.llvm.org/D20677#441407, @bcraig wrote:
> https://mentorembedded.github.io/cxx-abi/abi-eh.html mentions the functions, > but it doesn't really say what they are for. The C++ standard mentions when > an exception of std::bad_cast and std::bad_typeid are thrown. Put those two > documents together, and you get my earlier statements. Granted, it's just a > well informed guess, but a guess I'm pretty confident in. > > Leaving those functions in should be harmless, other than the size of the > dead code. There are also all the private type_info classes that are dead > weight if RTTI is turned off. > > While it may make sense to remove those functions, that's probably best left > for a different code review. Thanks, added that to my arsenal of references :) http://reviews.llvm.org/D20677 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits