3400563ea6
When the __virtual_mask is set, __offset_flags >> __offset_shift yields an offset into the vtable. Dereferencing this vtable slot gets us the vbase offset. Adjust a test case to verify that this, in fact, works. Differential Revision: http://reviews.llvm.org/D6074 llvm-svn: 221445 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Makefile.mk | ||
ubsan.syms.extra | ||
ubsan_diag.cc | ||
ubsan_diag.h | ||
ubsan_flags.cc | ||
ubsan_flags.h | ||
ubsan_handlers.cc | ||
ubsan_handlers.h | ||
ubsan_handlers_cxx.cc | ||
ubsan_handlers_cxx.h | ||
ubsan_init.cc | ||
ubsan_init.h | ||
ubsan_type_hash.cc | ||
ubsan_type_hash.h | ||
ubsan_value.cc | ||
ubsan_value.h |