Revert "Add a new attribute, fortify_stdlib"
authorErik Pilkington <erik.pilkington@gmail.com>
Wed, 13 Mar 2019 21:37:01 +0000 (21:37 +0000)
committerErik Pilkington <erik.pilkington@gmail.com>
Wed, 13 Mar 2019 21:37:01 +0000 (21:37 +0000)
commit02886e547649cfbf09edf0a60a87b6a10497b6ab
treefba29623886f6488c13b910ca0183721df7ba477
parenta688a42cdda4a71e6e23d5acc47d85d47fa3b0e8
Revert "Add a new attribute, fortify_stdlib"

This reverts commit r353765. After talking with our c stdlib folks, we decided
to use the existing pass_object_size attribute to implement _FORTIFY_SOURCE
wrappers, like Bionic does (I didn't realize that pass_object_size could be used
for this purpose). Sorry for the flip/flop, and thanks to James Y. Knight for
pointing this out to me.

llvm-svn: 356103
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/AttrDocs.td
clang/include/clang/Basic/Builtins.h
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Basic/Builtins.cpp
clang/lib/CodeGen/CGBuiltin.cpp
clang/lib/CodeGen/CodeGenFunction.h
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/CodeGen/fortify-std-lib.c [deleted file]
clang/test/Misc/pragma-attribute-supported-attributes-list.test
clang/test/Sema/fortify-std-lib.c [deleted file]