aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/CodeGen/MachineInstrTest.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2021-05-21 23:50:01 +0300
committerMartin Storsjö <martin@martin.st>2021-05-22 23:41:40 +0300
commitb4fd512c36ca344a3ff69350219e8b0a67e9472a (patch)
tree839bc073c5b93420973f830ef3d046f0386f0d6d /llvm/unittests/CodeGen/MachineInstrTest.cpp
parentc5638a71d805330294e9b6e2c670e1ed7420b63a (diff)
downloadllvm-b4fd512c36ca344a3ff69350219e8b0a67e9472a.zip
llvm-b4fd512c36ca344a3ff69350219e8b0a67e9472a.tar.gz
llvm-b4fd512c36ca344a3ff69350219e8b0a67e9472a.tar.bz2
[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
Diffstat (limited to 'llvm/unittests/CodeGen/MachineInstrTest.cpp')
0 files changed, 0 insertions, 0 deletions