>>>>> "Kien" == Kien Nguyen Trung <kie...@applistar.com> writes:

Kien>             obj_type_ref
Kien>               indirect_ref (test.cpp:21-17)

Kien> The problem is method read() of class B is get from a virtual method
Kien> of based class A. And i cannot get the real name of  this method.
Kien> Do you have any ideal to help me. Thansk

You may be able to extract it from the OBJ_TYPE_REF node.
I would suggest looking at how the devirtualization pass works to see if
this helps.

Maybe the information is completely lost in some cases.  (I don't really
know.)  If so I would suggest adding a bit more info to OBJ_TYPE_REF to
assist you.

Tom

Reply via email to