Commit a268364
committed
Fix ABI mismatch involving Sendable-refining protocols and deployment targets
A change to the way we determined whether a protocol conformance is
"dependent" for marker protocols caused an ABI break for
Sendable-refining protocols built with pre-6.0 Swift compilers. The
fix for this issue (#75769)
gated the change on deployment target.
The deployment target change fixed the original problem, then caused a
related issue when a project mixes deployment targets (pre-6.0 and
6.0+) with non-resilient protocols. Exempt non-resilient protocols from
this change so we get consistent behavior.
Fixes rdar://134953989.1 parent e1a22ca commit a268364
File tree
3 files changed
+41
-10
lines changed- lib/IRGen
- test
- IRGen
- Inputs
3 files changed
+41
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1030 | 1030 | | |
1031 | 1031 | | |
1032 | 1032 | | |
1033 | | - | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
1034 | 1037 | | |
1035 | 1038 | | |
1036 | 1039 | | |
| |||
1040 | 1043 | | |
1041 | 1044 | | |
1042 | 1045 | | |
1043 | | - | |
1044 | | - | |
1045 | | - | |
1046 | | - | |
1047 | | - | |
1048 | | - | |
1049 | | - | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
1050 | 1054 | | |
1051 | 1055 | | |
1052 | 1056 | | |
| |||
1055 | 1059 | | |
1056 | 1060 | | |
1057 | 1061 | | |
| 1062 | + | |
1058 | 1063 | | |
1059 | 1064 | | |
1060 | 1065 | | |
| |||
1084 | 1089 | | |
1085 | 1090 | | |
1086 | 1091 | | |
1087 | | - | |
| 1092 | + | |
| 1093 | + | |
1088 | 1094 | | |
1089 | 1095 | | |
1090 | 1096 | | |
| |||
1098 | 1104 | | |
1099 | 1105 | | |
1100 | 1106 | | |
| 1107 | + | |
1101 | 1108 | | |
1102 | 1109 | | |
1103 | 1110 | | |
| |||
1166 | 1173 | | |
1167 | 1174 | | |
1168 | 1175 | | |
1169 | | - | |
| 1176 | + | |
| 1177 | + | |
1170 | 1178 | | |
1171 | 1179 | | |
1172 | 1180 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments