[ubsan] Test -fsanitize=vptr without -fsanitize=null
authorVedant Kumar <vsk@apple.com>
Wed, 2 Aug 2017 18:10:36 +0000 (18:10 +0000)
committerVedant Kumar <vsk@apple.com>
Wed, 2 Aug 2017 18:10:36 +0000 (18:10 +0000)
commit8adb8d5d0d220b0b77b3e3f719f8ffb453a030e8
tree9ff6075d992953ccd7c0cf059d95b9084a7273c2
parenta0c3671b204564ac0c746e22312828643e8d4b11
[ubsan] Test -fsanitize=vptr without -fsanitize=null

This reverts commit r309042, thereby adding a test for -fsanitize=vptr
functionality without -fsanitize=null. It also removes -fsanitize=null
from another -fsanitize=vptr test.

llvm-svn: 309847
compiler-rt/test/ubsan/TestCases/TypeCheck/Linux/PR33221.cpp
compiler-rt/test/ubsan/TestCases/TypeCheck/vptr-corrupted-vtable-itanium.cpp