https://bugs.llvm.org/show_bug.cgi?id=37816
Bug ID: 37816
Summary: [DWARF] Add count of template methods to the class
definition
Product: clang
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangb...@nondot.org
Reporter: paul_robin...@playstation.sony.com
CC: apra...@apple.com, clayb...@gmail.com,
dblai...@gmail.com, echri...@gmail.com,
lab...@google.com, llvm-bugs@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
http://lists.llvm.org/pipermail/llvm-dev/2018-June/124085.html
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
*instantiations*.
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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs