tra added inline comments.

================
Comment at: lib/Driver/ToolChains/Cuda.cpp:436-437
     assert(Output.isNothing() && "Invalid output.");
-  if (Args.hasArg(options::OPT_g_Flag))
+  if (mustEmitDebugInfo(Args) == FullDebug)
     CmdArgs.push_back("-g");
 
----------------
Do we need to pass -g to make lineinfo debugging work?


Repository:
  rC Clang

https://reviews.llvm.org/D42581



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to