[PATCH] D104475: [Clang][Codegen] emit noprofile IR Fn Attr for new Fn Attr no_profile
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 18 04:07:04 PDT 2021
aaron.ballman added a comment.
This is missing all of the usual semantic tests (attribute accepts no args, applies only to functions, etc).
================
Comment at: clang/include/clang/Basic/Attr.td:1975
+ let Spellings = [Clang<"no_profile">];
+ let Subjects = SubjectList<[Function]>;
+ let Documentation = [NoProfileDocs];
----------------
Should this also be supported on ObjC methods?
================
Comment at: clang/include/clang/Basic/AttrDocs.td:2566
+Use the ``no_profile`` attribute on a function declaration to denote that the
+compiler should not instrument the function with profile related
+instrumentation, such as via the
----------------
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