diff options
| author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-03-03 20:46:45 +0000 |
|---|---|---|
| committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-03-03 20:46:45 +0000 |
| commit | 1ab99dd1741d470c421b357612d4bc1a8afe82d2 (patch) | |
| tree | e84db82ff37ff2771ee30c0d06223e7c915f68f5 /lldb/source/Commands/CommandObjectMemory.cpp | |
| parent | 3a159294d053ef4f5f4123507a030b63a0c01d3a (diff) | |
| download | llvm-1ab99dd1741d470c421b357612d4bc1a8afe82d2.zip llvm-1ab99dd1741d470c421b357612d4bc1a8afe82d2.tar.gz llvm-1ab99dd1741d470c421b357612d4bc1a8afe82d2.tar.bz2 | |
[ADT] fail-fast iterators for DenseMap
This patch was landed in r231035 and reverted because it was buggy.
This is fixed version of the same change.
Summary:
This patch is an attempt at making `DenseMapIterator`s "fail-fast".
Fail-fast iterators that have been invalidated due to insertion into
the host `DenseMap` deterministically trip an assert (in debug mode)
on access, instead of non-deterministically hitting memory corruption
issues.
Reviewers: dexonsmith, dberlin, ruiu, chandlerc
Reviewed By: chandlerc
Subscribers: yaron.keren, chandlerc, llvm-commits
Differential Revision: http://reviews.llvm.org/D7931
llvm-svn: 231125
Diffstat (limited to 'lldb/source/Commands/CommandObjectMemory.cpp')
0 files changed, 0 insertions, 0 deletions
