mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
NOTE: This is not in the mandatory passes (which run before this). This will enable me to strip out ownership after we serialize without touching frontend code. It also makes Onone and O use the same code paths for serialization instead of one happening in the driver (Onone today) and the other in a SIL pass (-O, -Osize). The reason that I updated the sil-func-extractor test is that I found a bug in how we emit sib files, namely if you try to emit a sib file to stdout, the llvm-bcanalyzer flags it as malformed. If I output the .sib into a file rather than trying to use stdout, everything works.
4.8 KiB
4.8 KiB