Go to file
Rafael Espindola 6e8ab928d5 Make appending var linking less of a special case.
It has to be a bit special because:
* materializeInitFor is not really supposed to call replaceAllUsesWith.
  The caller has a plain variable with Dst and expects just the
  initializer to be set, not for it to be removed.
* Calling mutateType as we used to do before gets some type
  inconsistency which breaks the bitcode writer.
* If linkAppendingVarProto create a dest decl with the correct type to
  avoid the above problems, it needs to put the original dst init in
  some side table for materializeInitFor to use.

In the end the simplest solution seems to be to just have
linkAppendingVarProto do all the work and set ValueMap[SrcGV to avoid
recursion.

llvm-svn: 254424
2015-12-01 17:17:04 +00:00
clang It appears that this horrible mutating copy constructor is unused. Kill it with fire. 2015-12-01 17:15:13 +00:00
clang-tools-extra Add a new checker, cert-err58-cpp, that checks for static or thread_local objects that use a throwing constructor. 2015-12-01 14:05:39 +00:00
compiler-rt Revert r254417 ("[tsan] Enable Thread Sanitizer on OS X builds by default"). 2015-12-01 15:56:38 +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 integer: remove explicit casts from _MIN definitions 2015-10-06 19:12:12 +00:00
libcxx Last bit of P0006; mark it as complete 2015-11-30 05:39:30 +00:00
libcxxabi c++abi: use __builtin_offsetof instead of offsetof 2015-11-18 05:33:38 +00:00
libunwind Make it possible to use libunwind without heap. 2015-11-09 06:57:29 +00:00
lld [ELF] Rearrange relocation codes in natural order. NFC. 2015-12-01 08:41:20 +00:00
lldb Fix race during process interruption 2015-12-01 11:28:47 +00:00
llgo [llgo] Force exporting __morestack from llgoi 2015-11-27 04:46:46 +00:00
llvm Make appending var linking less of a special case. 2015-12-01 17:17:04 +00:00
openmp Fix honoring of OMP_THREAD_LIMIT in the teams construct 2015-11-30 20:14:05 +00:00
polly Remove non-debug printing of domain set 2015-11-30 22:59:41 +00:00