Go to file
Hal Finkel c29d5f1674 Fix use-after-free bug in AffectedValueCallbackVH::allUsesReplacedWith
When transferring affected values in the cache from an old value, identified by
the value of the current callback, to the specified new value we might need to
insert a new entry into the DenseMap which constitutes the cache. Doing so
might delete the current callback object. Move the copying logic into a new
function, a member of the assumption cache itself, so that we don't run into UB
should the callback handle itself be removed mid-copy.

Differential Revision: https://reviews.llvm.org/D28749

llvm-svn: 292133
2017-01-16 15:22:01 +00:00
clang Ensure that clang -pthread creates the right macro. -D_POSIX_THREADS 2017-01-16 14:07:24 +00:00
clang-tools-extra [clang-move] Dump enum and type alias declarations. 2017-01-16 09:34:07 +00:00
compiler-rt Reland "[CMake][compiler-rt] Mark libcxx build for tsan as standalone" 2017-01-16 00:33:02 +00:00
debuginfo-tests
libclc Fix build since r286752. 2016-11-14 16:06:33 +00:00
libcxx [libcxx] Follow-up to r292107 2017-01-16 13:13:01 +00:00
libcxxabi [cmake] Handle missing LIBUNWIND_* directories gracefully 2017-01-14 17:05:16 +00:00
libunwind Don't dump llvm-config --cmakedir output if command fails. 2017-01-14 03:46:05 +00:00
lld [COFF] - Fixed format in writeOutSecLine() 2017-01-16 11:46:55 +00:00
lldb Fix windows unit tests 2017-01-16 12:15:42 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm Fix use-after-free bug in AffectedValueCallbackVH::allUsesReplacedWith 2017-01-16 15:22:01 +00:00
openmp kmp_affinity: Fix check if specific bit is set 2017-01-12 11:39:04 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly ScopInfo: No need to keep ReadOnlyAccesses in an additional map [NFC] 2017-01-16 14:24:48 +00:00