]> granicus.if.org Git - clang/commit
[CUDA] Disable ctor/dtor aliases in device code.
authorJustin Lebar <jlebar@google.com>
Mon, 25 Jan 2016 22:36:35 +0000 (22:36 +0000)
committerJustin Lebar <jlebar@google.com>
Mon, 25 Jan 2016 22:36:35 +0000 (22:36 +0000)
commit45758a1afd60b2e0856c5208fda8c7f47cf1e4ea
tree1224d92479e0e2fa40eebdd5fe51c279db11048d
parent4f6e709cff631349dcb83f2f80cca60dd964bfbf
[CUDA] Disable ctor/dtor aliases in device code.

Summary: NVPTX doesn't support aliases, so don't generate them.

Reviewers: tra

Subscribers: cfe-commits, jhen, echristo

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@258733 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/cuda-constructor-alias.cu [new file with mode: 0644]