In what versions of Xcode is stack protector enabled?

In the WWDC 2018 video for What's New in LLVM, they talked about stack protectors (canaries), and said that "it's already enabled by default in many versions of Xcode". I'm not sure what is meant by "many versions" of Xcode. Does that include the current versions of Xcode 9 using the iOS 11 SDK? Does it vary by platform (e.g. is it enabled by default for iOS)? Does it vary depending on language (e.g. is it enabled by default for Objective-C)? Does it vary depending on what our deployment target is set to? Is it necessary to specify some flag to enable it?

Presumably, where found Swift...that would be as far back as Xcode 6.0.1


"In Swift, Stack smashing is enabled by default one only need to add the "-fstack-protector-all" flag under build settings in objective-c applications.


How to check if stack smashing is enabled. Run the otool command and presence of

stack_chk_guard
and
stack_chk_fail
means the code is stack smashing protected."
In what versions of Xcode is stack protector enabled?
 
 
Q