Commits

Roman Levenstein committed 68b61816425
Annotate runtime functions using the newly introduced annotations from runtime/Config.h. This makes sure that runtime functions use proper calling conventions, get the required visibility, etc. We annotate the most popular runtime functions in terms of how often they are invoked from Swift code. - Almost all variants of retain/release functions are annotated to use the new calling convention. - Some popular non-reference counting functions like swift_getGenericMetadata or swift_dynamicCast are annotated as well. The set of runtime functions annotated to use the new calling convention should exactly match the definitions in RuntimeFunctions.def!