[You don't often get email from tom@tromey.com. Learn why this is important at
https://aka.ms/LearnAboutSenderIdentification ]
Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
>>>>> Claudiu Zissulescu <claudiu.zissulescu-ianculescu@amd.com> writes:
> From: Claudiu Zissulescu-Ianculescu <claudiu.zissulescu-ianculescu@amd.com>
> value_dynamic_cast computes the address of the most derived object, but
> for a cast to "void *" it then returns value_at_lazy (type, addr): the
> "void *" stored at that address, i.e. the first word of the object. For
> a polymorphic class that is the vtable pointer:
Thanks for the patch. This is ok.
Approved-By: Tom Tromey <tom@tromey.com>
Tom