Verifier: Start recursing into !dbg attachments
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 24 Mar 2015 17:32:19 +0000 (17:32 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 24 Mar 2015 17:32:19 +0000 (17:32 +0000)
commit15a873a6e202d238d5019a314b81e689dec03495
tree5fdf12ed5f53a36d6a606d762e4ff24886eb5aff
parenteeb2ba6d46e4da9af22dc715f82adae058378aa2
Verifier: Start recursing into !dbg attachments

The main verifier already recurses through the other entry points, so we
might as well descend here too.

This temporarily duplicates some work already done in
`verifyDebugInfo()`, but eventually I'll be removing the other side.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233095 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Verifier.cpp
test/Verifier/dbg.ll