4 ms·
This update also happens to include a bug fix for an actual instruction selection bug in the compiler that miscompiled the Swift runtime libraries for certain d
by saagarjha 5y ago
This update also happens to include a bug fix for an actual instruction selection bug in the compiler that miscompiled the Swift runtime libraries for certain devices. So if the security benefits didn’t convince you, consider making some mobile release engineers happy :)
- wbond 5y agoCould provide a link with some info? I tried to look around to confirm but didn’t find anything. This sounds like it could be really useful.
- saagarjha 5y agoSomeone's reported this as https://bugs.swift.org/browse/SR-16047 https://bugs.swift.org/browse/SR-16047. The bug is that A11 and older processors don't have a CAS instruction, and LLVM's lowering accidentally added xzr to the set of "valid registers" for the replacement instruction sequence. So if you're seeing crashes in MetadataAllocator in iOS 15.4, this is probably going to fix it for you.