summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/thunks-ehspec.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use FinishThunk to finish musttail thunksReid Kleckner2020-04-131-0/+29
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 (cherry picked from commit ce5173c0e174870934d1b3a026f631d996136191)
OpenPOWER on IntegriCloud