[PATCH] D42581: [NVPTX] Emit debug info in DWARF-2 by default for Cuda devices.
Alexey Bataev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 30 11:50:25 PST 2018
ABataev updated this revision to Diff 132016.
ABataev added a comment.
1. Updated after review.
2. Changed the default behavior of --[no]cuda-noopt-device-debug. If the optimization level is not specified or is O0 and debug info must be emitted, the device debug info is emitted. If optimization level is specified and >O0 and debug info must be emitted, the debug info for device is emitted only if --cuda-noopt-device-debug is specified.
Repository:
rC Clang
https://reviews.llvm.org/D42581
Files:
lib/Driver/ToolChains/Cuda.cpp
lib/Driver/ToolChains/Cuda.h
test/Driver/cuda-dwarf-2.cu
test/Driver/cuda-external-tools.cu
test/Driver/openmp-offload-gpu.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42581.132016.patch
Type: text/x-patch
Size: 10913 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180130/e2f2603a/attachment-0001.bin>
More information about the cfe-commits
mailing list