aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>2020-02-06 19:23:27 -0500
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>2020-02-06 19:23:49 -0500
commit2a3fa0fc5cd7d3398c0293915b0e569eaa0be24b (patch)
treec826609bf9bde7c9a8f2298f94b7aca4217e6fc4 /clang/lib/Frontend/CompilerInvocation.cpp
parentad0e03fd4c8066843f4138e44661ee0287ceb631 (diff)
downloadllvm-2a3fa0fc5cd7d3398c0293915b0e569eaa0be24b.zip
llvm-2a3fa0fc5cd7d3398c0293915b0e569eaa0be24b.tar.gz
llvm-2a3fa0fc5cd7d3398c0293915b0e569eaa0be24b.tar.bz2
[Support] When using SEH, create a impl instance for CrashRecoveryContext. NFCI.
Previously, the SEH codepath in CrashRecoveryContext didn't create a CrashRecoveryContextImpl. The other codepaths (VEH and Unix) were creating it. When running with -fintegrated-cc1, this is needed to handle exit() as a jump to CrashRecoveryContext's exception filter, through a call to RaiseException. In that situation, we need a user-defined exception code, which is later interpreted as an exit() by the exception filter. This in turn needs to set RetCode accordingly, *inside* the exception filter, and *before* calling HandleCrash(). Differential Revision: https://reviews.llvm.org/D74078
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions