[all-commits] [llvm/llvm-project] a63d4f: [Clang][Codegen] rename no_profile fn attr no_prof...

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Mon Jun 21 11:42:35 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a63d4f6cbab133b0f1ce9afb562546fcc5bb2680
      https://github.com/llvm/llvm-project/commit/a63d4f6cbab133b0f1ce9afb562546fcc5bb2680
  Author: Nick Desaulniers <ndesaulniers at google.com>
  Date:   2021-06-21 (Mon, 21 Jun 2021)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/test/CodeGen/no_profile.c
    R clang/test/Sema/no_profile-attribute.c
    A clang/test/Sema/no_profile_instrument_function-attribute.c

  Log Message:
  -----------
  [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




More information about the All-commits mailing list