[clang] Fix documentation on PGO/coverage related options. (PR #73845)
David Li via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 1 23:17:46 PST 2023
================
@@ -4401,13 +4413,18 @@ Execute ``clang-cl /?`` to see a list of supported options:
Instrument only functions from files where names don't match all the regexes separated by a semi-colon
-fprofile-filter-files=<value>
Instrument only functions from files where names match any regex separated by a semi-colon
+ -fprofile-generate[=<dirname>]
----------------
david-xl wrote:
-fprofile-generate= in GCC specifies a path which is a directory name (the reason is that GCC's profile data is dumped per module, so there is no single profile name).
When we introduced this option in Clang/LLVM, we just matched that behavior.
https://github.com/llvm/llvm-project/pull/73845
More information about the cfe-commits
mailing list