Dimitry Andric 9b1870035a 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
..
2016-11-14 00:33:03 +00:00
2016-12-19 23:38:07 +00:00
2016-12-13 22:16:02 +00:00
2016-07-01 05:48:45 +00:00
2016-11-07 15:54:47 +00:00
2016-04-20 17:58:13 +00:00
2016-12-04 21:13:26 +00:00
2016-01-05 05:25:16 +00:00
2017-01-10 21:59:35 +00:00
2016-07-30 01:16:06 +00:00
2016-08-03 20:21:58 +00:00
2016-10-01 00:14:01 +00:00
2016-07-03 01:35:27 +00:00
2016-09-03 23:04:56 +00:00
2016-07-20 03:52:04 +00:00
2016-08-24 12:32:24 +00:00
2016-12-04 23:23:59 +00:00
2016-09-29 18:24:29 +00:00
2017-01-06 07:54:53 +00:00
2017-01-04 16:09:08 +00:00