Commits

Joe Groff committed 802df0bdf3d
Runtime: Do awful things to implement "swift_conformsToProtocol" for Swift protocols. Given our constraints for 1.0, we can actually sort-of look up protocol conformances just by dlsym'ing the symbol for their protocol witness table, since we won't be implementing runtime witness table instantiation or private conformances anytime soon. To make this work for generic types, distastefully regress our mangling for protocol conformances by assuming all generic conformances are completely general to the unbound generic type and leave the generic parameters out of the mangling. Swift SVN r13901