Commit Graph

4 Commits

Author SHA1 Message Date
Pavel Yaskevich
5d243bd8a2 [IRGen] Move marker protocol stripping from mangleTypeSymbol to mangleTypeForFlatUniqueTypeRef
The original check introduced by https://github.com/apple/swift/pull/71855
is too broad. For concrete metadata we call the runtime demangler so
we need to strip off marker protocols when mangling that string and
`mangleTypeForReflection` already does that.
2024-06-04 21:58:59 -07:00
Pavel Yaskevich
0ab7e12aa2 [IRGen] Strip marker protocols from type symbol's mangling 2024-03-07 13:31:39 -08:00
Hamish Knight
622ff3782b [test] Disable marker_protocol_backdeploy.swift on arm
rdar://89910199
2022-03-08 14:49:48 +00:00
Doug Gregor
93703ef825 Ensure that we don't emit references to marker protocols in existential type metadata.
Fixes rdar://88922030.
2022-03-04 15:23:26 -08:00