llvm-project/llvm/test/CodeGen/WinEH
Reid Kleckner 3fa07dee94 Revert [Windows] Disable TrapUnreachable for Win64, add SEH_NoReturn
This reverts r370525 (git commit 0bb1630685)
Also reverts r370543 (git commit 185ddc08ee)

The approach I took only works for functions marked `noreturn`. In
general, a call that is not known to be noreturn may be followed by
unreachable for other reasons. For example, there could be multiple call
sites to a function that throws sometimes, and at some call sites, it is
known to always throw, so it is followed by unreachable. We need to
insert an `int3` in these cases to pacify the Windows unwinder.

I think this probably deserves its own standalone, Win64-only fixup pass
that runs after block placement. Implementing that will take some time,
so let's revert to TrapUnreachable in the mean time.

llvm-svn: 370829
2019-09-03 22:27:27 +00:00
..
lit.local.cfg [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
wineh-asm.ll
wineh-cloning.ll
wineh-comdat.ll IR: print value numbers for unnamed function arguments 2019-08-03 14:28:34 +00:00
wineh-demotion.ll
wineh-intrinsics-invalid.ll
wineh-intrinsics.ll
wineh-nested-unwind.ll
wineh-no-demotion.ll Fix invalid target triples in tests. (NFC) 2019-03-04 23:37:41 +00:00
wineh-noret-cleanup.ll Revert [Windows] Disable TrapUnreachable for Win64, add SEH_NoReturn 2019-09-03 22:27:27 +00:00
wineh-setjmp.ll
wineh-statenumbering-cleanups.ll Fix invalid target triples in tests. (NFC) 2019-03-04 23:37:41 +00:00
wineh-statenumbering.ll