[PATCH] D17111: [CUDA] Added --cuda-noopt-device-debug option to control ptxas' debug info generation.
Justin Lebar via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 11 13:09:02 PST 2016
jlebar accepted this revision.
================
Comment at: lib/Driver/Tools.cpp:10696
@@ +10695,3 @@
+ // ptxas does not accept -g option if optimization is enabled, so we ignore
+ // compiler's -O* options if we want debug info.
+ CmdArgs.push_back("-g");
----------------
Nit: ignore the compiler's
http://reviews.llvm.org/D17111
More information about the cfe-commits
mailing list