[Lldb-commits] [lldb] Add the ability to get a C++ vtable ValueObject from another ValueObj… (PR #67599)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 28 20:34:14 PDT 2023
jeffreytan81 wrote:
> > * Can we test this during multiple inheritance? Should we print multiple vtables?
> [Greg] I can add a test for this and make sure things works when dynamic typing is on and off. We won't print multiple vtables, as each class has only 1 vtable, it will just include all of the virtual methods needed for any inherited classes.
I remember some compiler's multi-inheritance implementation is putting one vtable_ptr in object for each parent class. Maybe not in clang?
> > * Test in coredump to make sure it works
> [Greg] That is tricky due to the vtables never being stored in the core files since they are in read only sections.
Right, I am not asking for a testcase, but manual testing.
https://github.com/llvm/llvm-project/pull/67599
More information about the lldb-commits
mailing list