Commit Graph

6 Commits

Author SHA1 Message Date
Egor Zhdan
91bef8448a [IRGen] Upstream test changes for pointer authenticated value witness tables
The original change was done by Arnold Schwaighofer.
2024-07-02 18:35:12 +01:00
Arnold Schwaighofer
fc766a39d3 Fix some more tests 2023-06-29 16:16:56 -07:00
Arnold Schwaighofer
d1d7438a70 Move windows tests to %use_no_opaque_pointers usage 2023-06-14 10:49:50 -07:00
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