[LLVMbugs] [Bug 22235] New: Debug info IR: DebugMDNode

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jan 14 20:58:55 PST 2015


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: unassignedbugs at nondot.org
          Reporter: dexonsmith at apple.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150115/5643194f/attachment.html>


More information about the llvm-bugs mailing list