Debug Info Verifier: simplify DIxxx::Verify
authorManman Ren <manman.ren@gmail.com>
Sat, 20 Jul 2013 00:38:46 +0000 (00:38 +0000)
committerManman Ren <manman.ren@gmail.com>
Sat, 20 Jul 2013 00:38:46 +0000 (00:38 +0000)
commit96ea03839becf151b2eda518b4bc55b84f6373bf
tree8341a3e3bf7ab5d8e7be4f70f7ce4dd1341e536d
parentac9e819ca9ad93cfbcf0b7c5b0a7cbbd34cd9176
Debug Info Verifier: simplify DIxxx::Verify

Simplify DIxxx:Verify to not call Verify on an operand. Instead, we use
DebugInfoFinder to list all MDNodes that should be a DIScope and all MDNodes
that should be a DIType and we will call Verify on those lists.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186737 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo.h
lib/IR/DebugInfo.cpp
lib/IR/Verifier.cpp