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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to