]> granicus.if.org Git - clang/commit
[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)
commit1ba8f524f7139598a19b4b0a16aceb8cce18f71a
treea64eaa66ee53af7ee6dfc3ee6e3f5094d85757fc
parent2f5dc240d1b2bb0f71843f64d60c7878c0b3ac9d
[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.

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