llvm-6502/include/llvm/ADT
Sanjoy Das 784545fba0 [ADT][CMake][AutoConf] Fail-fast iterators for DenseMap
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.

Enabling fail-fast iterators breaks the LLVM C++ ABI, so they are
predicated on `LLVM_ENABLE_ABI_BREAKING_CHECKS`.
`LLVM_ENABLE_ABI_BREAKING_CHECKS` by default flips with
`LLVM_ENABLE_ASSERTS`, but can be clamped to ON or OFF using the CMake /
autoconf build system.

Reviewers: chandlerc, dexonsmith, rnk, zturner

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D8351

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233310 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-26 19:25:01 +00:00
..
APFloat.h Purge unused includes throughout libSupport. 2015-03-23 18:07:13 +00:00
APInt.h [APInt] Add an isSplat helper and use it in some places. 2015-03-25 16:49:59 +00:00
APSInt.h
ArrayRef.h
BitVector.h
DAGDeltaAlgorithm.h
DeltaAlgorithm.h
DenseMap.h [ADT][CMake][AutoConf] Fail-fast iterators for DenseMap 2015-03-26 19:25:01 +00:00
DenseMapInfo.h
DenseSet.h
DepthFirstIterator.h Remove use of reserved identifier 2015-03-15 03:03:41 +00:00
edit_distance.h
EpochTracker.h [ADT][CMake][AutoConf] Fail-fast iterators for DenseMap 2015-03-26 19:25:01 +00:00
EquivalenceClasses.h
FoldingSet.h Purge unused includes throughout libSupport. 2015-03-23 18:07:13 +00:00
GraphTraits.h
Hashing.h
ilist_node.h
ilist.h
ImmutableList.h
ImmutableMap.h Factor the iterators of ImmutableSet/ImmutableMap into a common base class 2015-03-15 13:26:03 +00:00
ImmutableSet.h Recommit simplification first attempted in r232309 (fixed a bit in r232312, with fixes in r232314) 2015-03-17 05:49:45 +00:00
IndexedMap.h
IntEqClasses.h
IntervalMap.h
IntrusiveRefCntPtr.h Purge unused includes throughout libSupport. 2015-03-23 18:07:13 +00:00
iterator_range.h
iterator.h
MapVector.h [ADT] Teach MapVector to support a swap member. Will be used in 2015-03-25 00:50:21 +00:00
None.h
Optional.h
PackedVector.h
PointerIntPair.h
PointerUnion.h
PostOrderIterator.h PostOrderIterator: Remove stray semicolon 2015-03-15 07:09:18 +00:00
PriorityQueue.h
SCCIterator.h
ScopedHashTable.h
SetOperations.h
SetVector.h
SmallBitVector.h
SmallPtrSet.h
SmallSet.h
SmallString.h
SmallVector.h
SparseBitVector.h
SparseMultiSet.h
SparseSet.h
Statistic.h
STLExtras.h Remove use of reserved identifier _Iterator 2015-03-15 03:18:21 +00:00
StringExtras.h
StringMap.h
StringRef.h StringRef: Just forward StringRef::find to libc's memchr. 2015-03-21 16:42:35 +00:00
StringSet.h
StringSwitch.h
TinyPtrVector.h
Triple.h [AArch64, ARM] Add v8.1a architecture and generic cpu 2015-03-26 17:05:54 +00:00
Twine.h Teach Twine to support SmallString. 2015-03-17 09:51:17 +00:00
UniqueVector.h
VariadicFunction.h