aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-04-16 00:11:11 +0000
committerJustin Lebar <jlebar@google.com>2016-04-16 00:11:11 +0000
commit423019d059897f104c3c435996896df335983b73 (patch)
tree6a1c32420960d511b2bae9a738758141eeca7965 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent4d247e7012ae6355c9b63b6a6549adadd0a16fd1 (diff)
downloadllvm-423019d059897f104c3c435996896df335983b73.zip
llvm-423019d059897f104c3c435996896df335983b73.tar.gz
llvm-423019d059897f104c3c435996896df335983b73.tar.bz2
[CUDA] Raise an error if the CUDA install can't be found.
Summary: Without this change, we silently proceed on without including __clang_cuda_runtime_wrapper.h. This leads to very strange behavior -- you say you're compiling CUDA code, but e.g. __device__ is not defined! Reviewers: tra Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D19180 llvm-svn: 266496
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions