mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-03 09:57:24 +00:00
[NFC] Fix compilation of CrashRecoveryContext.cpp on mingw
Patch by Markus Böck. Differential Revision: https://reviews.llvm.org/D72564
This commit is contained in:
parent
869c74a8ef
commit
0dd9fb199a
@ -266,7 +266,8 @@ static LONG CALLBACK ExceptionHandler(PEXCEPTION_POINTERS ExceptionInfo)
|
||||
|
||||
// Handle the crash
|
||||
const_cast<CrashRecoveryContextImpl *>(CRCI)->HandleCrash(
|
||||
(int)ExceptionInfo->ExceptionRecord->ExceptionCode, ExceptionInfo);
|
||||
(int)ExceptionInfo->ExceptionRecord->ExceptionCode,
|
||||
reinterpret_cast<uintptr_t>(ExceptionInfo));
|
||||
|
||||
// Note that we don't actually get here because HandleCrash calls
|
||||
// longjmp, which means the HandleCrash function never returns.
|
||||
|
Loading…
x
Reference in New Issue
Block a user