[llvm-bugs] [Bug 37816] New: [DWARF] Add count of template methods to the class definition
llvm-bugs at lists.llvm.org
Fri Jun 15 11:49:07 PDT 2018
Bug ID: 37816
Summary: [DWARF] Add count of template methods to the class
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: paul_robinson at playstation.sony.com
CC: aprantl at apple.com, clayborg at gmail.com,
dblaikie at gmail.com, echristo at gmail.com,
labath at google.com, llvm-bugs at lists.llvm.org
Add a DWARF attribute to the class definition, reporting a count of
template methods (not instantiations) defined within the class.
In a discussion between myself and Greg Clayton
this seemed to be a fairly cheap way to provide LLDB with useful
information to help it translate DWARF into Clang ASTs without
excessive performance cost.
Of course this would have to be plumbed through from Clang CodeGen
through DIBuilder and down into DwarfDebug, with requisite stops
along the way in the bitcode reader/writer. It can't be derived
within LLVM because this is a count of template *definitions* not
Probably worth proposing for DWARF v6; in the meantime it would
have to be an LLVM extension attribute.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs