freebsd-skq/contrib/llvm/lib
dim be6e2d77e1 Pull in r292133 from upstream llvm trunk (by Hal Finkel):
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

This should fix crashes when building lld (as part of the llvmXY ports).

Reported by:	jbeich
PR:		216117
2017-01-16 19:53:18 +00:00
..
Analysis Pull in r292133 from upstream llvm trunk (by Hal Finkel): 2017-01-16 19:53:18 +00:00
AsmParser Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
Bitcode Merge llvm, clang, lld and lldb trunk r291476. 2017-01-09 22:32:19 +00:00
CodeGen Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00
DebugInfo Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00
Demangle Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
ExecutionEngine Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00
IR Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00
IRReader Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
LibDriver Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
LineEditor Update llvm to release_39 branch r276489, and resolve conflicts. 2016-08-16 21:02:59 +00:00
Linker Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
LTO Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00
MC Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
Object Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00
ObjectYAML Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00
Option Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
Passes Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00
ProfileData Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00
Support Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00
TableGen Merge llvm, clang, lld and lldb trunk r291012, and resolve conflicts. 2017-01-04 22:19:42 +00:00
Target Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00
Transforms Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00
XRay Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00