Dimitry Andric 3788a439e9 Merge commit ce5173c0e from llvm git (by Reid Kleckner):
Use FinishThunk to finish musttail thunks

  FinishThunk, and the invariant of setting and then unsetting
  CurCodeDecl, was added in 7f416cc42638 (2015). The invariant didn't
  exist when I added this musttail codepath in ab2090d10765 (2014).
  Recently in 28328c3771, I started using this codepath on non-Windows
  platforms, and users reported problems during release testing
  (PR44987).

  The issue was already present for users of EH on i686-windows-msvc,
  so I added a test for that case as well.

  Reviewed By: hans

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

This should fix 'Assertion failed: (!empty() && "popping exception stack
when not empty"), function popTerminate, file
/usr/src/contrib/llvm-project/clang/lib/CodeGen/CGCleanup.h, line 583'
when building the net-p2p/libtorrent-rasterbar

PR:		244830
Reported by:	jbeich, yuri
MFC after:	6 weeks
X-MFC-With:	358851
2020-04-20 17:39:51 +00:00
..
2020-04-01 15:25:16 +00:00
2019-08-11 06:26:03 +00:00
2020-02-11 07:02:48 +00:00
2019-11-01 11:28:43 +00:00
2020-03-29 02:40:03 +00:00
2019-06-29 18:41:40 +00:00
2020-03-02 08:44:58 +00:00
2019-12-21 21:05:53 +00:00
2020-01-25 21:16:45 +00:00
2020-02-19 17:09:08 +00:00
2020-04-06 23:11:43 +00:00
2019-12-09 17:58:22 +00:00
2019-05-08 11:04:09 +00:00
2020-04-19 02:20:39 +00:00
2019-11-20 23:56:20 +00:00
2019-12-21 21:02:50 +00:00
2019-09-12 00:19:16 +00:00
2019-08-22 18:52:30 +00:00
2020-03-22 01:27:38 +00:00