]> granicus.if.org Git - clang/commit
[OPENMP] Fix PR35152: Do not use getInvokeDest() function for EH checks.
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 2 Nov 2017 18:55:05 +0000 (18:55 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 2 Nov 2017 18:55:05 +0000 (18:55 +0000)
commit0479348d173c39db1dfaf937c4c6b685679124e3
treeacd227b33930e8c981356c08934d8d6aa3d3116c
parent55dbed804bb40df7c40c98fd0e3e2057d89d0d02
[OPENMP] Fix PR35152: Do not use getInvokeDest() function for EH checks.

The compiler may crash under some conditions if the getInvokeDest() is
used, but later it is not used. Fixed this problem in OpenMP.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317227 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGOpenMPRuntime.cpp
test/OpenMP/openmp_win_codegen.cpp