]> granicus.if.org Git - clang/commit
[NVPTX] Emit debug info in DWARF-2 by default for Cuda devices.
authorAlexey Bataev <a.bataev@hotmail.com>
Wed, 18 Apr 2018 16:31:09 +0000 (16:31 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Wed, 18 Apr 2018 16:31:09 +0000 (16:31 +0000)
commitc16c83ef6c8fc32195774870a2112f3fe106e1ce
treee8b92854188226b876831b1685f4d4dfa66080cd
parentb62c028144f59b54c5f883b286a158d62543f33a
[NVPTX] Emit debug info in DWARF-2 by default for Cuda devices.

Summary:
NVPTX target supports debug info in DWARF-2 format. Patch adds emission
of debug info in DWARF-2 by default.

Reviewers: tra, jlebar

Subscribers: aprantl, JDevlieghere, cfe-commits

Differential Revision: https://reviews.llvm.org/D42581

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@330272 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Cuda.cpp
lib/Driver/ToolChains/Cuda.h
test/Driver/cuda-dwarf-2.cu [new file with mode: 0644]
test/Driver/cuda-external-tools.cu
test/Driver/openmp-offload-gpu.c