CarlosAlbertoEnciso wrote:

> The DWARF currently provides access to the vtable location for /instances/ of 
> the class, so curious what the distinction/need is for doing this from the 
> class, without instances?
> 

The need to be done for the class is to give the debugger extra information 
about the vtables during the debug information loading before any code is 
executed. We are using it to construct a map of `vtable pointer` => `Class 
definition` to enable the type promotion.


https://github.com/llvm/llvm-project/pull/130255
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to