diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-12-28 12:45:23 +0000 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-12-28 12:45:23 +0000 |
commit | c4cfd9451c04abf2130819a91fd5f1965c8468f1 (patch) | |
tree | ba114f4f83ea7c61241686e0174ef209e61b434b /test/msan | |
parent | 3bd6c8e44cf530bbf8c0e57b571f4bfc7d48b698 (diff) |
-fsanitize=vptr warnings on bad static types in dynamic_cast and typeid
...when such an operation is done on an object during con-/destruction.
(This adds a test case to compiler-rt/test/ubsan/TestCases/TypeCheck/vptr.cpp
that, unlike the existing test cases there, wants to detect multiple UBSan
warnings in one go. Therefore, that file had to be changed from globally using
-fno-sanitize-recover to individually using halt_on_error only where
appropriate.)
This is the compiler-rt part of a patch covering both cfe and compiler-rt.
Differential Revision: https://reviews.llvm.org/D40295
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@321518 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/msan')
0 files changed, 0 insertions, 0 deletions