Make DIExpression::Verify() stricter by checking that the number of
authorAdrian Prantl <aprantl@apple.com>
Wed, 21 Jan 2015 00:59:20 +0000 (00:59 +0000)
committerAdrian Prantl <aprantl@apple.com>
Wed, 21 Jan 2015 00:59:20 +0000 (00:59 +0000)
commit34bcbeed03584aa9785df3b7c138341024c21257
treea603302f274370f0e010a5b48fcb537cbf080e5c
parent1efd55ff21eb3f9c2b94ddb7b97e316d0b926b64
Make DIExpression::Verify() stricter by checking that the number of
elements and the ordering is sane and cleanup the accessors.

llvm-svn: 226627
llvm/include/llvm/IR/DebugInfo.h
llvm/lib/IR/DebugInfo.cpp
llvm/lib/IR/Verifier.cpp
llvm/test/DebugInfo/piece-verifier.ll [new file with mode: 0644]