Commit 7875b6b
committed
Pass -sil-merge-partial-modules flag
The build scripts for foundation bypass the Swift driver and use
the -frontend mode directly. The command line interface for
-frontend is not officially supported and is subject to change.
A recent change was that when merging partial modules to form a
final module file, the -sil-merge-partial-modules flag must be
passed in so that serialized SIL can be preserved in the final
module file.
Preserving serialized SIL is now a requirement, since soon
default argument generators and stored property initializers
will be emitted with non-public linkage, requiring clients to
deserialize SIL when calling these entry points.1 parent 7359ea7 commit 7875b6b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
0 commit comments