Commits

Michael Gottesman committed 4ec0a81e5f3
Add linkage SILLinkage::SharedExternal for deserialized functions with shared linkage. *NOTE* This linkage is different from {Public,Hidden}External in that it has no extra semantic meaning beyond shared. The use of this linkage is to ensure that we do not serialize deserialized shared functions. Those shared functions can always be re-deserialized from the original module. This prevents a whole class of bugs related to the creation of module cross references since all references to the shared item go straight to the original module. <rdar://problem/17772847> Swift SVN r20375