This attribute applies to declarations of C stdlib functions (sprintf, memcpy...) that have known fortified variants (sprintf_chk, memcpy_chk, ...). When applied, clang will emit calls to the fortified variant functions. We need this attribute because its impossible to write gnu_inline-style wrappers to variadic functions because we don't support __builtin_va_arg_pack, and don't intend to (see https://reviews.llvm.org/D57635).
Fixes rdar://47905754
Thanks for taking a look!
Erik