[Clang][Codegen] rename no_profile fn attr no_profile_instrument_function
authorNick Desaulniers <ndesaulniers@google.com>
Mon, 21 Jun 2021 18:34:23 +0000 (11:34 -0700)
committerNick Desaulniers <ndesaulniers@google.com>
Mon, 21 Jun 2021 18:42:06 +0000 (11:42 -0700)
commita63d4f6cbab133b0f1ce9afb562546fcc5bb2680
tree33bc64747f1e68892ce9b65854c32d3bb4c13173
parent9080659ac730735c6233153fa2f666015a47b07e
[Clang][Codegen] rename no_profile fn attr no_profile_instrument_function

GCC has had this function attribute since GCC 7.1 for this purpose. I
added "no_profile" last week in D104475; rename this to
"no_profile_instrument_function" to improve compatibility with GCC.

Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80223#c11
Reviewed By: MaskRay, aaron.ballman

Differential Revision: https://reviews.llvm.org/D104658
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/AttrDocs.td
clang/test/CodeGen/no_profile.c
clang/test/Sema/no_profile-attribute.c [deleted file]
clang/test/Sema/no_profile_instrument_function-attribute.c [new file with mode: 0644]