[PATCH] D130808: [InstrProf] Add new format for -fprofile-list=

Ellis Hoag via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 29 16:53:31 PDT 2022


ellis created this revision.
Herald added a project: All.
ellis edited the summary of this revision.
ellis added a reviewer: phosek.
ellis edited the summary of this revision.
ellis added a reviewer: davidxl.
ellis published this revision for review.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

In D130807 <https://reviews.llvm.org/D130807> we added the `omitprofile` attribute. This commit
changes the format so we can either `forbid` or `omit` profiling
functions by adding the `noprofile` or `omitprofile` attributes,
respectively.

The behavior of the original format remains unchanged.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130808

Files:
  clang/docs/UsersManual.rst
  clang/include/clang/Basic/ProfileList.h
  clang/lib/Basic/ProfileList.cpp
  clang/lib/CodeGen/CodeGenFunction.cpp
  clang/lib/CodeGen/CodeGenModule.cpp
  clang/lib/CodeGen/CodeGenModule.h
  clang/test/CodeGen/profile-filter-new.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130808.448741.patch
Type: text/x-patch
Size: 15170 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220729/5731d394/attachment.bin>


More information about the cfe-commits mailing list