jbcoe
jbcoe

Reputation: 3921

How to view vtable for C++ class in LLDB?

I'd like to see virtual function tables for C++ classes using LLDB. This seems to be possible for GDB but I can't find any docs explaining how to do the same for LLDB.

Upvotes: 1

Views: 2443

Answers (2)

jbcoe
jbcoe

Reputation: 3921

@tobi303 gave a link that showed:

image lookup -r -v -s "vtable for YOUR_CLASS_NAME

would give some info about the vtable.

Jim Inham's answer above remains accepted.

Upvotes: 2

Jim Ingham
Jim Ingham

Reputation: 27148

This is not currently supported in lldb. There is a bug requesting the feature.

Upvotes: 2

Related Questions