[LLVMbugs] [Bug 21433] New: Debug info IR: MDLocation

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Oct 31 11:38:22 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=21433

            Bug ID: 21433
           Summary: Debug info IR: MDLocation
           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

`MDLocation` is a first-class IR type that has two other representations:
`DILocation` (which now trivially wraps `MDLocation` instead of `MDNode`) and
`DebugLoc`.  More details in the LLVMdev post [1].

[1]: http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-October/078173.html

Aside from adding `MDLocation` itself, this PR includes adding general IR
support for non-MDNode metadata.  In particular, a number of APIs expect only
`MDNode` instances.  This affects metadata APIs such as
`Instruction::getMetadata()` and `NamedMDNode::getOperand()`, which need to use
`Value` instead of `MDNode`.

-- 
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/20141031/c037c014/attachment.html>


More information about the llvm-bugs mailing list