Commits

David Farler committed 7e8b8f83e81
Emit reflection metadata by default This turns on the remote reflection metadata by default for swift invocations and the standard library. The size delta for all of the sections is: Section __swift3_typeref: 20176 Section __swift3_reflstr: 2556 Section __swift3_fieldmd: 8172 Section __swift3_assocty: 18112 Recognizing that this is a nontrivial increase in binary size, we can reduce this with a few methods: - Trie for strings (typerefs and field names are both strings) but would need an implementation - Compress the entire sections: this would need an implementation available on all platforms where we support the functionality. - Don't use the AST mangler but a custom mangling, which may be slightly more compact because it can specialize by need and maybe not include some mangle nodes that typerefs don't need.