[PATCH] D57918: Add an attribute that causes clang to emit fortified calls to C stdlib functions
Erik Pilkington via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 8 12:32:08 PST 2019
erik.pilkington added inline comments.
================
Comment at: clang/include/clang/Basic/AttrDocs.td:987
+
+Only a specific set of standard library functions are supported:
+ - memcpy
----------------
aaron.ballman wrote:
> And we don't have Annex K versions for any of these, like memset_s()?
No, it doesn't look like clang even recognizes these yet, and our c library doesn't define _chk functions for them. Whenever that happens, it would good to support them though I guess.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57918/new/
https://reviews.llvm.org/D57918
More information about the cfe-commits
mailing list