]> granicus.if.org Git - clang/commit
[OPENMP] Improved code for generating debug info + generation of all OpenMP regions...
authorAlexey Bataev <a.bataev@hotmail.com>
Tue, 10 Mar 2015 04:22:11 +0000 (04:22 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Tue, 10 Mar 2015 04:22:11 +0000 (04:22 +0000)
commitbc5f55a803a832877c58fe69f1f58f974bbaf12c
treeb73c545d836099c91ed11eb13185947345bfc523
parent533e8193ca398e0e0317bf43a337b4864dd9412a
[OPENMP] Improved code for generating debug info + generation of all OpenMP regions in termination scope
Patch adds proper generation of debug info for all OpenMP regions. Also, all OpenMP regions are generated in a termination scope, because standard does not allow to throw exceptions out of structured blocks, associated with the OpenMP regions
Differential Revision: http://reviews.llvm.org/D7935

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@231752 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CGStmt.cpp
lib/CodeGen/CGStmtOpenMP.cpp
test/OpenMP/atomic_codegen.cpp [new file with mode: 0644]
test/OpenMP/critical_codegen.cpp
test/OpenMP/for_codegen.cpp
test/OpenMP/master_codegen.cpp
test/OpenMP/parallel_codegen.cpp
test/OpenMP/simd_codegen.cpp
test/OpenMP/single_codegen.cpp