[clang] [llvm] [clang][DebugInfo] Add symbol for debugger with VTable information. (PR #130255)
Paul T Robinson via llvm-commits
llvm-commits at lists.llvm.org
Mon May 12 08:34:15 PDT 2025
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
More information about the llvm-commits
mailing list