[PATCH] D25448: [ubsan] Disable -fsanitize=vptr checks for devirtualized calls

John McCall via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 13 23:51:13 PDT 2016


rjmccall added a comment.

Wait, can you talk me through the bug here?  Why is final-based devirtualization here different from, say, user-directed devirtualization via a qualified method name?

It sounds to me from your description that you're not sure why this is happening.  If this indeed only triggers in the presence of multiple inheritance, it might just be the case that you're doing your object-extents analysis starting from the wrong offset.


https://reviews.llvm.org/D25448





More information about the cfe-commits mailing list