]> granicus.if.org Git - llvm/commit
DebugInfo: Drop fake DW_TAG_expression
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 17 Mar 2015 21:32:46 +0000 (21:32 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 17 Mar 2015 21:32:46 +0000 (21:32 +0000)
commit887a8678629406379d79aa123f9c2e2b72d9cdac
tree9dc4be6910c4e70cf3d9bd34bead468a62a77dbf
parent7e4820c1a6a9d561b5ca989bed0425f7f97c0537
DebugInfo: Drop fake DW_TAG_expression

Break MDExpression off of DebugNode (inherit directly from `MDNode`) and
drop the fake `DW_TAG_expression` tag in the process.

AFAICT, there's no real functionality change here.  The tag was
originally used by `DIDescriptor::isExpression()` to discriminate
between `MDNode`s, but in the new hierarchy we don't need that.

Fixes PR22780.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232550 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DebugInfoMetadata.h
include/llvm/IR/Metadata.def
include/llvm/Support/Dwarf.def
lib/IR/Verifier.cpp