Commits

Saleem Abdulrasool committed 42678c1e008
stdlib: tweak import declarations Ensure that the functions which are declared with @_silgen_name for importing from external libraries are described with the correct linkage. If the declared functions are marked with internal or no linkage, the declaration for the import will be given internal linkage. However, this is incorrect if the definition is not part of the image. The remaining uses were filtered on the assumption that the swift standard library is statically linked and provides the definitions for those symbols and thus will be part of the image. This was noticed by manual inspection of the IR generated. Thanks to Dmitri Gribenko for the hint about the trampoline construction.