]> granicus.if.org Git - clang/commit
--cuda-host-only should not disable linking phase.
authorArtem Belevich <tra@google.com>
Tue, 28 Jul 2015 21:01:21 +0000 (21:01 +0000)
committerArtem Belevich <tra@google.com>
Tue, 28 Jul 2015 21:01:21 +0000 (21:01 +0000)
commit730a443420d6b5cc07958b243e82bdf88a94a435
tree0be9f9aa1d7831e07746f44c93d4affa0c136bb3
parent914e18e546953affccf24a4ba190676c96c08bc0
--cuda-host-only should not disable linking phase.

Host-only cuda compilation does produce valid host object
file and in some cases users do want to proceed on to the linking phase.
The change removes special case that stopped compilation pipeline at
the Assembly phase. Device-side compilation is still stopped early
by the types::getCompilationPhases().

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@243478 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Driver.cpp
test/Driver/cuda-options.cu