Commit Graph

3 Commits

Author SHA1 Message Date
Saleem Abdulrasool
d335158844 test: correct a couple of tests for Windows
On Windows, we do not emit the base type pointer and instead will fill
that in at runtime just like the resilient strategy.  Permit this in the
IRGen checks.
2019-02-07 10:02:25 -08:00
Erik Eckstein
39bb14b094 change mangling prefix from $S to $s
This is the final ABI mangling prefix

rdar://problem/38471478
2018-09-19 13:55:11 -07:00
Joe Groff
8eee14d593 IRGen: Use prefab value witness tables for uninhabited and @objc enums.
@objc enums don't support reflection and aren't given extra inhabitants, so we never in practice use their enum value witnesses (and the ones we generated were wrong!), and we can share the prefab value witnesses for the builtin integer types for C enums. All uninhabited types like Never can also share an arbitrary value witness table; the value witnesses will never be invoked.
2018-08-14 14:03:35 -07:00