pogo59 wrote:

I like modeling it as an artificial static member, which I *think* is the 
"before the patch" version from 
https://github.com/llvm/llvm-project/pull/130255#issuecomment-2866460040
The CU-level variable definition has a DW_AT_specification pointing to its 
declaration within the class type (which is using DW_AT_specification 
correctly), letting you find the class type from the variable. The declaration 
within the class type has the vtable's linkage name, which lets you find the 
vtable from the class type.

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

Reply via email to