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)
commit4d569edd37897df7a614c689ed4f978fd8cb2d78
tree935aede2dd0a01db57be36a1a86d2cc3287f82dc
parent650d4f00aea43676e9cd06b94b49c8a55f155838
Make DIExpression::Verify() stricter by checking that the number of
elements and the ordering is sane and cleanup the accessors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226627 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DebugInfo.h
lib/IR/DebugInfo.cpp
lib/IR/Verifier.cpp
test/DebugInfo/piece-verifier.ll [new file with mode: 0644]