summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.h
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2014-10-13 20:44:58 +0000
committerAdrian Prantl <aprantl@apple.com>2014-10-13 20:44:58 +0000
commit049d21caea4cb66bfda771fa8f4e21b88dfd1364 (patch)
tree733def1e1aa6d1b1e2cabf06108a1b1f98d2cb6d /llvm/lib/Bitcode/Reader/BitcodeReader.h
parent13c58820f8df2eb8b81ebce60f1ca5b2865c5943 (diff)
downloadbcm5719-llvm-049d21caea4cb66bfda771fa8f4e21b88dfd1364.tar.gz
bcm5719-llvm-049d21caea4cb66bfda771fa8f4e21b88dfd1364.zip
Add an assertion about the integrity of the iterator.
Broken parent scope pointers in inlined DIVariables can cause ensureAbstractVariableIsCreated to insert new abstract scopes, thus invalidating the iterator in this loop and leading to hard-to-debug crashes. Useful when manually reducing IR for testcases. llvm-svn: 219628
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud