llvm-project/compiler-rt/test/ubsan/TestCases
Ivan Krasin 694c28495a Add a test for vcall on a null ptr.
Summary:
Turns out that in the case of -fsanitize=null and a virtual call,
the type check was generated *after* reading from vtable, which
causes a non-interpretable segfault. The check has been moved up
in https://reviews.llvm.org/D26559 and this CL adds a test for this case.

Reviewers: pcc

Subscribers: cfe-commits, kubabrecka

Differential Revision: https://reviews.llvm.org/D26560

llvm-svn: 287578
2016-11-21 21:23:56 +00:00
..
Float Fix bad regression from r263077 when building with MSVC. 2016-03-12 01:57:31 +00:00
Integer When building without DIA SDK, don't set suppressions.cpp fail 2016-01-22 20:26:10 +00:00
Misc Merge two coverage tests undef UBSan into one. 2016-06-15 21:18:17 +00:00
TypeCheck Add a test for vcall on a null ptr. 2016-11-21 21:23:56 +00:00