2

Assuming that source code is compiled for ARMv7 architecure using clang (native shared object library for Android, Itanium ABI) what are the cases when virtual table pointer is not the first element of structure?

  • 1
    I don't know that ARM ABI, but this can happen when the class has multiple inheritance: you can end up with separate a virtual table for each base class. You do normally get a vtable at the start of the structure too, though, just not necessarily the only one. – Rup Sep 16 at 11:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.