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 | 703478ae6e529de9ec346f79961d980c604c299e (patch) | |
tree | 03342e813c60775ca3b246cf27fdd5fcfb6f2f45 /llvm/lib/CodeGen/SafeStackLayout.cpp | |
parent | a13e163a274f3442598eedd33ec208fc96a5b560 (diff) | |
download | llvm-703478ae6e529de9ec346f79961d980c604c299e.zip llvm-703478ae6e529de9ec346f79961d980c604c299e.tar.gz llvm-703478ae6e529de9ec346f79961d980c604c299e.tar.bz2 |
-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
llvm-svn: 321518
Diffstat (limited to 'llvm/lib/CodeGen/SafeStackLayout.cpp')
0 files changed, 0 insertions, 0 deletions