Rewrite the function-local validation logic for MDNodes (most of r91708).
authorChris Lattner <sabre@nondot.org>
Mon, 28 Dec 2009 09:07:21 +0000 (09:07 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 28 Dec 2009 09:07:21 +0000 (09:07 +0000)
commitb241b370313588837f9960b3ec3de4dcfb8aee4e
treed4090254928303de253364f94d16bad4a68c7f4b
parentdfdb5dcf564b66209f374c6c68bc8ddfb7ebacfd
Rewrite the function-local validation logic for MDNodes (most of r91708).
Among other benefits, this doesn't leak the SmallPtrSet, has the verifier
code in the verifier pass, actually does the verification at the end,
and is considerably simpler.

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