Skip to content
Commit 880d8605 authored by Alexey Bataev's avatar Alexey Bataev
Browse files

[OPENMP] Fix for PR31643: Clang crashes when compiling code on Windows

with SEH and openmp

In some cituations (during codegen for Windows SEH constructs)
CodeGenFunction instance may have CurFn equal to nullptr. OpenMP related
code does not expect such situation during cleanup.

llvm-svn: 292590
parent e9b18e3d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment