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

            Bug ID: 22780
           Summary: Drop fake DW_TAG_expression
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: DebugInfo
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
            Blocks: 21432
    Classification: Unclassified

Now that we have a type hierarchy (from bug 22464), we don't need
`DW_TAG_expression` to discriminate DWARF expressions.  We can use
`Metadata::getMetadataID()` instead.

1. Change `MDExpression::getTag()` to return `0u` and fix any fallout.
2. Remove `dwarf::DW_TAG_expression`.
3. Change `MDExpression` to inherit directly from `MDNode` instead of
`DebugNode`.
4. Investigate having it inherit directly from `Metadata` -- expressions don't
need/use metadata operands, they're not referenced from `NamedMDNode` or
`!attachments`, and they have no need for distinct/temporary semantics.

-- 
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