[PATCH] D40295: -fsanitize=vptr warnings on bad static types in dynamic_cast and typeid
Stephan Bergmann via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 20 03:01:24 PST 2017
sberg updated this revision to Diff 127676.
sberg added a comment.
added a small IR test
https://reviews.llvm.org/D40295
Files:
clang/lib/CodeGen/CGExpr.cpp
clang/lib/CodeGen/CGExprCXX.cpp
clang/lib/CodeGen/CodeGenFunction.h
clang/test/CodeGenCXX/ubsan-vtable-checks.cpp
compiler-rt/lib/ubsan/ubsan_handlers.cc
compiler-rt/test/ubsan/TestCases/TypeCheck/vptr.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40295.127676.patch
Type: text/x-patch
Size: 15017 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171220/ca82a93a/attachment.bin>
More information about the cfe-commits
mailing list