[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
Tue Nov 21 04:43:08 PST 2017


sberg added a comment.

Some items I'm unclear about:

- Should those additional calls to EmitTypeCheck be restricted via those SkippedChecks or not?

- Maybe there's a better way to add tests for this than to try shoehorn it into the existing vptr.cpp?


https://reviews.llvm.org/D40295





More information about the cfe-commits mailing list