]> granicus.if.org Git - clang/commit
[CUDA] pass debug options to ptxas.
authorArtem Belevich <tra@google.com>
Tue, 16 Feb 2016 22:03:20 +0000 (22:03 +0000)
committerArtem Belevich <tra@google.com>
Tue, 16 Feb 2016 22:03:20 +0000 (22:03 +0000)
commite88720a6287e5fa399e833ed5ddf4f0b475c37bd
treea6179ddc98ce2a2970f8129b21c248b40a859bfc
parentd065b6d26258c3dc57f0b07e3cecfd6eb3985fa8
[CUDA] pass debug options to ptxas.

ptxas optimizations are disabled if we need to generate debug info
as ptxas does not accept '-g' otherwise.

Differential Revision: http://reviews.llvm.org/D17111

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@261018 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
lib/Driver/Tools.cpp
test/Driver/cuda-external-tools.cu