[PATCH] D26559: Insert a type check before reading vtable.

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 15 17:51:38 PST 2016


On Fri, Nov 11, 2016 at 3:02 PM, Ivan Krasin via cfe-commits <
cfe-commits at lists.llvm.org> wrote:

> krasin added a comment.
>
> Small correction: all UBSan type checks tests live in compiler-rt.


Actually, most of the UBSan tests live
in test/CodeGenCXX/catch-undef-behavior.cpp in Clang; the compiler-rt tests
are merely aiming to test that the runtime produces the correct
diagnostics. There are a few more test files testing UBSan besides that
one; you can find the tests by grepping for "fsanitize=" in Clang's test/
directory.


> There is a test for UBsan + devirtualization inside tools/clang. My point
> still stands.
>
>
> https://reviews.llvm.org/D26559
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161115/f157e859/attachment.html>


More information about the cfe-commits mailing list