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

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 18 11:17:52 PDT 2021


nickdesaulniers added inline comments.


================
Comment at: clang/include/clang/Basic/Attr.td:1975
+  let Spellings = [Clang<"no_profile">];
+  let Subjects = SubjectList<[Function]>;
+  let Documentation = [NoProfileDocs];
----------------
aaron.ballman wrote:
> Should this also be supported on ObjC methods?
Wouldn't that be the case for many surrounding attributes defined near by?  I don't see why not, but I also know literally nothing about ObjC.  Would you like me to extend this attribute to ObjC methods?


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