Go to file
Jingyue Wu 4f7b9eb217 Fix addrspace when emitting constructors of static local variables
Summary:
Due to CUDA's implicit address space casting, the type of a static local
variable may be more specific (i.e. with address space qualifiers) than
the type expected by the constructor. Emit an addrspacecast in that
case.

Test Plan: Clang used to crash on the added test.

Reviewers: nlewycky, pcc, eliben, rsmith

Reviewed By: eliben, rsmith

Subscribers: llvm-commits

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

llvm-svn: 233208
2015-03-25 20:06:28 +00:00
clang Fix addrspace when emitting constructors of static local variables 2015-03-25 20:06:28 +00:00
clang-tools-extra Fix false positive on anonymous namespaces in headers. 2015-03-24 15:21:45 +00:00
compiler-rt [PowerPC]Fix sancov.py to once again support big endian 2015-03-25 14:56:02 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Implement fast_distance builtin 2015-03-23 18:10:04 +00:00
libcxx Fix incorrect error handling of call to mbrtowc. This is PR#13759. Leaving the bug open because (1) I'm not sure that we're correct here, only better than before, and (2) no tests 2015-03-23 20:07:17 +00:00
libcxxabi Don't print debugging messages to stdout. 2015-03-19 09:17:21 +00:00
lld [Mips] Factor out the code that extracts a relocation 'tag' into 2015-03-25 13:12:59 +00:00
lldb Use Android device serial number instead of hostname as a target identifier within module cache. 2015-03-25 17:58:13 +00:00
llgo llgoi: Fix type identity for imported binary packages. 2015-03-18 08:34:40 +00:00
llvm Linker: Rewrite dwarfdump checks from r233164 2015-03-25 19:57:42 +00:00
openmp fix for broken commit 231774 2015-03-10 10:14:57 +00:00
polly Drop -polly-vectorizer-unroll-only option 2015-03-23 07:00:36 +00:00