diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-07-27 09:10:25 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-07-27 09:10:25 +0000 |
commit | df7c5d4137fd5cf63d9a9b0f09c9d7255895908c (patch) | |
tree | 9b7e52418388c2ec6d4c4ad4d1f7110984802c6f /lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | f553587a4f5bdd9226c6f29bb46a32b6f67986ff (diff) |
SmallVector::erase: Assert that iterators are actually inside the vector.
The rationale here is that it's hard to write loops containing vector erases and
it only shows up if the vector contains non-trivial objects leading to crashes
when forming them out of garbage memory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160854 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions