summaryrefslogtreecommitdiffstats
path: root/llvm/utils/unittest/UnitTestMain/TestMain.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-02-13 21:18:23 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-02-13 21:18:23 +0000
commit6d9f13127cba3eb7074a027c63160c8a2eca0e65 (patch)
tree2ffb3c402a1c05dd2966cb36fa3fa53db1345bcf /llvm/utils/unittest/UnitTestMain/TestMain.cpp
parent2c5868c334646d4cdc92589cea393a5012cdd813 (diff)
downloadbcm5719-llvm-6d9f13127cba3eb7074a027c63160c8a2eca0e65.tar.gz
bcm5719-llvm-6d9f13127cba3eb7074a027c63160c8a2eca0e65.zip
ubsan: Add checking for invalid downcasts. Per [expr.static.cast]p2 and p11,
base-to-derived casts have undefined behavior if the object is not actually an instance of the derived type. Runtime library part. llvm-svn: 175079
Diffstat (limited to 'llvm/utils/unittest/UnitTestMain/TestMain.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud