diff options
author | Justin Lebar <jlebar@google.com> | 2016-03-30 23:30:25 +0000 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2016-03-30 23:30:25 +0000 |
commit | 0e450a5d61795a2ca9160a34a75855fd1d16e16c (patch) | |
tree | 55df0906abcc6113db21e29bac5208b6c230f3d5 /lldb/packages/Python/lldbsuite/test/macosx/add-dsym/TestAddDsymMidExecutionCommand.py | |
parent | ba122ab42fe54aee3427dc61b765cc8a9dad9d85 (diff) | |
download | bcm5719-llvm-0e450a5d61795a2ca9160a34a75855fd1d16e16c.tar.gz bcm5719-llvm-0e450a5d61795a2ca9160a34a75855fd1d16e16c.zip |
[CUDA] Don't initialize the CUDA toolchain if we don't have any CUDA inputs.
Summary:
This prevents errors when you invoke clang with a flag that the NVPTX
toolchain doesn't support. For example, on x86-64,
clang -mthread-model single -x c++ /dev/null -o /dev/null
should output just one error about "invalid thread model 'single' in
'-mthread-model single' for this target"; x86-64 doesn't support
-mthread-model, but we shouldn't also instantiate a NVPTX target!
Reviewers: echristo
Subscribers: tra, sunfish, cfe-commits
Differential Revision: http://reviews.llvm.org/D18629
llvm-svn: 264965
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/macosx/add-dsym/TestAddDsymMidExecutionCommand.py')
0 files changed, 0 insertions, 0 deletions