-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 is the cfe 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/cfe/trunk@321519 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/CodeGen/CGExpr.cpp 2 additions, 2 deletionslib/CodeGen/CGExpr.cpp
- lib/CodeGen/CGExprCXX.cpp 21 additions, 5 deletionslib/CodeGen/CGExprCXX.cpp
- lib/CodeGen/CodeGenFunction.h 4 additions, 1 deletionlib/CodeGen/CodeGenFunction.h
- test/CodeGenCXX/ubsan-vtable-checks.cpp 12 additions, 0 deletionstest/CodeGenCXX/ubsan-vtable-checks.cpp
Loading
Please register or sign in to comment