[clang] [llvm] [clang][DebugInfo] Add symbol for debugger with VTable information. (PR #130255)
David Blaikie via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 7 15:17:37 PST 2025
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
More information about the cfe-commits
mailing list