On Thu, Oct 4, 2012 at 3:58 AM, Kostya Serebryany <[email protected]> wrote:

> >> +void __ubsan::__ubsan_handle_divrem_overflow
> For consistency with asan/tsan you may want to move public functions out
> of __ubsan namespace (just have them __ubsan_foo).
> The "__" guaranties that no legal program will have the same symbol, while
> the simple extern "C" name may slightly simplify debugging (e.g. setting a
> break point, etc)
>

Since these symbols are already extern "C", their mangled names are just
__ubsan_handle_divrem_overflow etc, so there's no difference from a
debugging perspective. Is there a benefit to moving them out of the
namespace?
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to