[PATCH] D51554: [CUDA][OPENMP][NVPTX]Improve logic of the debug info support.

Eric Christopher via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 8 18:46:08 PST 2018

echristo added a comment.

The llvm backend patch here has discussion around debug info kinds that we should iron out first.

Comment at: lib/Driver/ToolChains/Cuda.cpp:292
+  bool IsDebugEnabled = !A || A->getOption().matches(options::OPT_O0) ||
+                        Args.hasFlag(options::OPT_cuda_noopt_device_debug,
+                                     options::OPT_no_cuda_noopt_device_debug,
Is this an nvcc compatibility flag?

  rC Clang


More information about the cfe-commits mailing list