echristo added inline comments.
Comment at: lib/Driver/Tools.cpp:10707
@@ +10706,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");
tra wrote:
>
tra added inline comments.
Comment at: lib/Driver/Tools.cpp:10707
@@ +10706,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");
hfinkel wrote:
> e
hfinkel added inline comments.
Comment at: lib/Driver/Tools.cpp:10707
@@ +10706,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");
echristo wrote
echristo added inline comments.
Comment at: lib/Driver/Tools.cpp:10707
@@ +10706,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");
tra wrote:
>
tra added inline comments.
Comment at: lib/Driver/Tools.cpp:10707
@@ +10706,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");
tra wrote:
> hfink
tra added inline comments.
Comment at: lib/Driver/Tools.cpp:10707
@@ +10706,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");
hfinkel wrote:
> e
hfinkel added a subscriber: hfinkel.
Comment at: lib/Driver/Tools.cpp:10707
@@ +10706,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");
echristo
echristo added inline comments.
Comment at: lib/Driver/Tools.cpp:10707
@@ +10706,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");
jlebar wrote:
echristo accepted this revision.
echristo added a comment.
This revision is now accepted and ready to land.
Wow really? That's ... wow.
OK
http://reviews.llvm.org/D17111
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/
jlebar added inline comments.
Comment at: lib/Driver/Tools.cpp:10707
@@ +10706,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");
I think this is
tra created this revision.
tra added reviewers: jlebar, echristo.
tra added a subscriber: cfe-commits.
ptxas optimizations are disabled if we need to generate debug info
as ptxas does not accept '-g' otherwise.
http://reviews.llvm.org/D17111
Files:
lib/Driver/Tools.cpp
test/Driver/cuda-exter
11 matches
Mail list logo