http://llvm.org/bugs/show_bug.cgi?id=22235
Bug ID: 22235
Summary: Debug info IR: DebugMDNode
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Core LLVM classes
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Introduce a new IR node specialized for DWARF tags with similar assembly syntax
to MDLocation (bug 21433).
The construct needs to be generic enough to handle any DW_TAG we currently
stuff into MDNode, and is meant to serve as a base class for specific DW_TAG
classes going forward.
My naming plan is to call the base class (which inherits from
`UniquableMDNode`) `DebugMDNode`, and the leaf class `GenericDebugMDNode`.
This is step 4 of the original plan from the RFC [1]: pull the DW_TAG out of
the header field to put in the `tag` field, and leave it otherwise similar to
an MDNode.
!7 = !GenericDebugMDNode(tag: DW_TAG_compile_unit, fields: "0\00clang
3.6\00...", operands: { !8, !9, ... })
[1]: http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-October/077715.html
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs