On Fri, Jan 02, 2015 at 10:06:29PM +0100, Bernd Edlinger wrote: > OK, I will do that. > I removed the __tsan_vptr_update stuff from the patch, for now.
Guess we should ask Dmitry about that. > It will probably be difficult for me to find a test case for this, > because I am not really sure what __tsan_vptr_update is actually good for, > (i.e. the use case). > I think I should also change the function type of BUILT_IN_READ_RANGE > and BUILT_IN_WRITE_RANGE to BT_FN_VOID_PTR_SIZE? You should use BT_FN_VOID_PTR_PTRMODE for those instead, and you don't need to initialize it in asan.c - it is already initialized there. size_t might be a different integer type from uptr. Jakub