Commit 8f65324
committed
Explicitly tell the frontend to enable default cross-module-optimization
So far, the swift-frontend decided by itself if CMO can be enabled. This caused problems when used with an old driver, which doesn't consider CMO.
Now, the driver decides when to use default CMO.1 parent ecdc811 commit 8f65324
File tree
4 files changed
+27
-16
lines changed- Sources/SwiftDriver/Jobs
- Tests/SwiftDriverTests
4 files changed
+27
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
287 | 293 | | |
288 | 294 | | |
289 | 295 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | 102 | | |
105 | 103 | | |
106 | 104 | | |
| |||
147 | 145 | | |
148 | 146 | | |
149 | 147 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
154 | 151 | | |
155 | 152 | | |
156 | 153 | | |
| |||
163 | 160 | | |
164 | 161 | | |
165 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
166 | 172 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | 318 | | |
327 | 319 | | |
328 | 320 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2976 | 2976 | | |
2977 | 2977 | | |
2978 | 2978 | | |
| 2979 | + | |
2979 | 2980 | | |
2980 | 2981 | | |
2981 | 2982 | | |
2982 | 2983 | | |
2983 | 2984 | | |
2984 | 2985 | | |
2985 | 2986 | | |
| 2987 | + | |
| 2988 | + | |
2986 | 2989 | | |
2987 | 2990 | | |
2988 | 2991 | | |
2989 | 2992 | | |
2990 | 2993 | | |
2991 | 2994 | | |
2992 | 2995 | | |
| 2996 | + | |
| 2997 | + | |
2993 | 2998 | | |
2994 | 2999 | | |
2995 | 3000 | | |
2996 | 3001 | | |
2997 | 3002 | | |
2998 | 3003 | | |
2999 | 3004 | | |
| 3005 | + | |
| 3006 | + | |
3000 | 3007 | | |
3001 | 3008 | | |
3002 | 3009 | | |
3003 | | - | |
| 3010 | + | |
3004 | 3011 | | |
3005 | 3012 | | |
3006 | 3013 | | |
| |||
0 commit comments