dwblaikie wrote:

I wouldn't mind a few more details here on the motivation.

> This new symbol will allow a debugger to easily associate classes with the 
> physical location of their VTables using only the DWARF information. 

What sort of features are you picturing building with this?

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?

> Previously, this had to be done by searching for ELF symbols with matching 
> names; something that was time-consuming and error-prone in certain edge 
> cases.

(I can appreciate that, if we are at the point of searching the symbol table, 
it's not a great one - but could you talk more about the edge cases/error-prone 
situations?)

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