diff options
author | Adrian Prantl <aprantl@apple.com> | 2014-10-13 20:44:58 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2014-10-13 20:44:58 +0000 |
commit | 049d21caea4cb66bfda771fa8f4e21b88dfd1364 (patch) | |
tree | 733def1e1aa6d1b1e2cabf06108a1b1f98d2cb6d /llvm/lib/Bitcode/Writer/BitWriter.cpp | |
parent | 13c58820f8df2eb8b81ebce60f1ca5b2865c5943 (diff) | |
download | llvm-049d21caea4cb66bfda771fa8f4e21b88dfd1364.zip llvm-049d21caea4cb66bfda771fa8f4e21b88dfd1364.tar.gz llvm-049d21caea4cb66bfda771fa8f4e21b88dfd1364.tar.bz2 |
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/Writer/BitWriter.cpp')
0 files changed, 0 insertions, 0 deletions