[all-commits] [llvm/llvm-project] b69231: [InstrProf] Add new format for -fprofile-list=
Ellis Hoag via All-commits
all-commits at lists.llvm.org
Thu Aug 4 08:49:56 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b692312ca432d9a379f67a8d83177a6f1722baaa
https://github.com/llvm/llvm-project/commit/b692312ca432d9a379f67a8d83177a6f1722baaa
Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
Date: 2022-08-04 (Thu, 04 Aug 2022)
Changed paths:
M clang/docs/UsersManual.rst
M clang/include/clang/Basic/ProfileList.h
M clang/lib/Basic/ProfileList.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/CodeGenModule.h
A clang/test/CodeGen/profile-filter-new.c
M clang/test/CodeGen/profile-function-groups.c
Log Message:
-----------
[InstrProf] Add new format for -fprofile-list=
In D130807 we added the `skipprofile` attribute. This commit
changes the format so we can either `forbid` or `skip` profiling
functions by adding the `noprofile` or `skipprofile` attributes,
respectively. The behavior of the original format remains
unchanged.
Also, add the `skipprofile` attribute when using
`-fprofile-function-groups`.
Reviewed By: phosek
Differential Revision: https://reviews.llvm.org/D130808
More information about the All-commits
mailing list