]> granicus.if.org Git - clang/commit
[OPENMP] Fix capturing of boolean variables in debug mode.
authorAlexey Bataev <a.bataev@hotmail.com>
Tue, 17 Oct 2017 16:47:34 +0000 (16:47 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Tue, 17 Oct 2017 16:47:34 +0000 (16:47 +0000)
commit1b641bcb61ddab51b491e8875e3994604ac1ae17
tree561053667b5982187191fa2c7e002ba864a20e56
parent61664b6263b7159245344450cc77e7968face3a9
[OPENMP] Fix capturing of boolean variables in debug mode.

If the variables is boolean and we generating inner function with real
types, the codegen may crash because of not loading boolean value from
memory.

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