Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Support] Fix Windows dump file hang with multi-threaded crashes
Prevents deadlock between MiniDumpWriteDump and CryptAcquireContextW (called via fs::createTemporaryFile) in WriteWindowsDumpFile. However, there's no guarantee that deadlock can't still occur between MiniDumpWriteDump and some other Win32 API call. But that would appear to be the "accepted" risk of using MiniDumpWriteDump in this manner. Differential Revision: https://reviews.llvm.org/D129004
- Loading branch information