search for: offset_to_top

Displaying 3 results from an estimated 3 matches for "offset_to_top".

2017 May 29
2
Dumping the Vtable
Hi, Can someone help me with how to dump the vtable and the vptr addresses within it? Thanks, Dami -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170529/5dc7e058/attachment.html>
2016 Jan 28
8
Proposal: virtual constant propagation
...zed functions in the vtable, and (for Itanium ABI) the distance between address points within a single vtable symbol. For example, the vtable for Base and Derived will look like this: struct Base_VTable { bool isDerived : 1, isOfTypeBase : 1, isOfTypeDerived : 1; size_t padding : 61; size_t offset_to_top; size_t rtti; bool (*isDerived)(const Base *this); bool (*isOfType)(const Base *this, Type t); }; Base_VTable base_vtable{ false, true, false, 0, 0, 0, &Base::isDerived, &Base::IsOfType }; Base_VTable derived_vtable{ True, false, true, 0, 0, 0, &Derived::isDerived, &Derive...
2016 Jan 28
2
Proposal: virtual constant propagation
...tween address points within a >> single vtable symbol. >> >> For example, the vtable for Base and Derived will look like this: >> >> struct Base_VTable { >> bool isDerived : 1, isOfTypeBase : 1, isOfTypeDerived : 1; >> size_t padding : 61; >> size_t offset_to_top; >> size_t rtti; >> bool (*isDerived)(const Base *this); >> bool (*isOfType)(const Base *this, Type t); >> }; >> Base_VTable base_vtable{ >> false, true, false, 0, 0, 0, &Base::isDerived, &Base::IsOfType >> }; >> Base_VTable derived_vtable{ &g...