[OPENMP] Emit non-debug version of outlined functions with original
authorAlexey Bataev <a.bataev@hotmail.com>
Wed, 9 Aug 2017 19:38:53 +0000 (19:38 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Wed, 9 Aug 2017 19:38:53 +0000 (19:38 +0000)
commite754b18f5e10155673ceff9af9a34b473a802764
treef67a22ea696dba0c713e79c8fed2d1c34c75e776
parent3239518b90e6ab35877791236c53b9d30c68dd32
[OPENMP] Emit non-debug version of outlined functions with original
name.

If the host code is compiled with the debug info, while the target
without, there is a problem that the compiler is unable to find the
debug wrapper. Patch fixes this problem by emitting special name for the
debug version of the code.

llvm-svn: 310511
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/test/OpenMP/distribute_codegen.cpp
clang/test/OpenMP/parallel_codegen.cpp
clang/test/OpenMP/parallel_for_simd_codegen.cpp
clang/test/OpenMP/target_parallel_debug_codegen.cpp