[PATCH] D70568: [Support] Possibly use exception handler in the Crash Recovery Context in the same way as global exceptions
    Martin Storsjö via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Sat Jan 11 23:37:54 PST 2020
    
    
  
mstorsjo added inline comments.
================
Comment at: llvm/lib/Support/CrashRecoveryContext.cpp:269
+  const_cast<CrashRecoveryContextImpl *>(CRCI)->HandleCrash(
+      (int)ExceptionInfo->ExceptionRecord->ExceptionCode, ExceptionInfo);
 
----------------
This implicitly converts a pointer to `uintptr_t`, which is an error by default in mingw mode; a cast is needed.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70568/new/
https://reviews.llvm.org/D70568
    
    
More information about the cfe-commits
mailing list