llvm-project/llvm/lib/Support/Windows
Martin Storsjö b4fd512c36 [Windows] Use TerminateProcess to exit without running destructors
If exiting using _Exit or ExitProcess, DLLs are still unloaded
cleanly before exiting, running destructors and other cleanup in those
DLLs. When the caller expects to exit without cleanup, running
destructors in some loaded DLLs (which can be either libLLVM.dll or
e.g. libc++.dll) can cause deadlocks occasionally.

This is an alternative to D102684.

Differential Revision: https://reviews.llvm.org/D102944
2021-05-22 23:41:40 +03:00
..
COM.inc
DynamicLibrary.inc
Host.inc
Memory.inc
Path.inc Support: Add move semantics to mapped_file_region 2021-04-09 17:56:26 -07:00
Process.inc [Windows] Use TerminateProcess to exit without running destructors 2021-05-22 23:41:40 +03:00
Program.inc [SystemZ][z/OS][Windows] Add new functions that set Text/Binary mode for Stdin and Stdout based on OpenFlags 2021-04-16 08:09:19 -04:00
Signals.inc Pass -fcrash-diagnostics-dir along to LLVM 2021-04-06 09:30:52 -07:00
ThreadLocal.inc
Threading.inc Re-land [Support] On Windows, take the affinity mask into account 2021-01-14 17:03:22 -05:00
Watchdog.inc
explicit_symbols.inc