[PATCH] D104475: [Clang][Codegen] emit noprofile IR Fn Attr for new Fn Attr no_profile

Bill Wendling via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 17 11:45:28 PDT 2021


void added inline comments.


================
Comment at: clang/include/clang/Basic/Attr.td:1974
+def NoProfileFunction : InheritableAttr {
+  let Spellings = [GCC<"no_profile">];
+  let Subjects = SubjectList<[Function]>;
----------------
Is this an attribute that exists in GCC? I couldn't find it...


================
Comment at: clang/include/clang/Basic/AttrDocs.td:2565
+  let Content = [{
+Use the ``no_profile`` attribute on a function to declaration to denote that
+the compiler should not instrument the function with profile related
----------------
s/function to declaration/function declaration/


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104475/new/

https://reviews.llvm.org/D104475



More information about the cfe-commits mailing list