ABataev 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"); ---------------- tra wrote: > Do we need to pass -g to make lineinfo debugging work? I checked with nvcc, it does not send `-g` in line table only mode. 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