Go to file
Hans Wennborg 43a0f99b10 Don't emit implicit template instantiations eagerly (PR21718)
Their linkage can change if they are later explicitly instantiated. We would
previously emit such functions eagerly (as opposed to lazily on first use) if
they have a 'dllexport' or 'used' attribute, and fail an assert when hitting the
explicit instantiation.

This is achieved by replacing the old CodeGenModule::MayDeferGeneration() method
with two new ones: MustBeEmitted() and MayBeEmittedEagerly().

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

llvm-svn: 225570
2015-01-10 01:19:48 +00:00
clang Don't emit implicit template instantiations eagerly (PR21718) 2015-01-10 01:19:48 +00:00
clang-tools-extra clang-tidy: [misc-use-override] Simplify regular expressions in test. 2015-01-09 14:10:15 +00:00
compiler-rt Revert "Reapply debug info changes now that more precise column information is available." 2015-01-09 23:27:12 +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 Use amdgcn triple for SI+ GPUs 2015-01-06 20:42:12 +00:00
libcxx Support Newlib as libc++'s C library [cstdio part, part 2] 2015-01-10 00:08:00 +00:00
libcxxabi Fix some formatting I messed up in r225187. 2015-01-05 19:31:59 +00:00
lld PE/COFF: add support to import functions in ARM NT 2015-01-08 04:19:08 +00:00
lldb Respect the fact that the result object claims it doesn't want to be interactive by not forwarding STDIN to the python invocation when it isn't desired. 2015-01-10 00:42:12 +00:00
llgo [llgo] irgen: generate switch instructions 2015-01-08 07:49:28 +00:00
llvm Fix undefined behavior (shift of negative value) in RuntimeDyldMachOAArch64::encodeAddend. 2015-01-10 00:46:38 +00:00
openmp
polly Adjust test for the new 'distinct' metadata nodes 2015-01-09 08:10:36 +00:00