This revision was automatically updated to reflect the committed changes.
Closed by commit rL261018: [CUDA] pass debug options to ptxas. (authored by
tra).
Changed prior to commit:
http://reviews.llvm.org/D17111?vs=47680=48108#toc
Repository:
rL LLVM
http://reviews.llvm.org/D17111
Files:
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
tra retitled this revision from "[CUDA] pass debug options to ptxas." to
"[CUDA] Added --cuda-noopt-device-debug option to control ptxas' debug info
generation.".
tra updated the summary for this revision.
tra updated this revision to Diff 47680.
tra added a comment.
Added