HomePhabricator

[Windows SEH]: Fix -O2 crash for Windows -EHa

Authored by tentzen on Jun 4 2021, 2:04 PM.

Description

[Windows SEH]: Fix -O2 crash for Windows -EHa

This patch fixes a Windows -EHa crash induced by previous commit 797ad701522988e212495285dade8efac41a24d4.
The crash was caused by "LifetimeMarker" scope (with option -O2) that should not be considered as SEH Scope.

This change also turns off -fasync-exceptions by default under -EHa option for now.

Differential Revision: https://reviews.llvm.org/D103664#2799944

Details

Committed
tentzenJun 4 2021, 2:07 PM
Differential Revision
D103664: [Windows SEH]: Fix -O2 crash for Windows -EHa
Parents
rG8ec9aa236e32: [OpenMP] Add experimental nesting mode feature
Branches
Unknown
Tags
Unknown