mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The pass to decide which functions should get stack protection was added in https://github.com/apple/swift/pull/60933, but was disabled by default. This PR enables stack protection by default, but not the possibility to move arguments into temporaries - to keep the risk low. Moving to temporaries can be enabled with the new frontend option `-enable-move-inout-stack-protector`. rdar://93677524
106 KiB
106 KiB