]> granicus.if.org Git - clang/commit
[OPENMP][NVPTX]Emit service debug variable for NVPTX.
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 28 Jan 2019 20:03:02 +0000 (20:03 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 28 Jan 2019 20:03:02 +0000 (20:03 +0000)
commit00c3372fa3b073da0902153b72024df9075217c2
treeae9d775b6f73290fe90e3fce9a06ab4fe7b70755
parent2982c3dd9f453bd267f677f6facf5201c3e21feb
[OPENMP][NVPTX]Emit service debug variable for NVPTX.

In case of the empty module, the ptxas tool may emit error message about
empty debug info sections. This patch fixes this bug.

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