llvm-6502/cmake
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
..
modules [ADT][CMake][AutoConf] Fail-fast iterators for DenseMap 2015-03-26 19:25:01 +00:00
platforms Doing some cleanup to the iOS toolchain. 2015-03-12 16:19:16 +00:00
config-ix.cmake test: Make a start on a test suite for libLTO. 2015-03-19 23:55:38 +00:00
Makefile Provide CMake package modules in install tree 2014-02-09 16:37:02 +00:00
nsis_icon.ico
nsis_logo.bmp
README CMake: Added notes pointing to the LLVM CMake documentation. 2009-04-04 22:52:02 +00:00

See docs/CMake.html for instructions on how to build LLVM with CMake.