aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaohai Wen <haohai.wen@intel.com>2024-11-28 15:43:21 +0800
committerGitHub <noreply@github.com>2024-11-28 15:43:21 +0800
commit69d66fafec968b17f84e30bc09faffb3dc8e5f15 (patch)
treeae6e5898fb859617d3b81d7807ebf7f9b39ed12f
parentf6694534ac86cb6949b241c11ddc7fd8ee44f027 (diff)
downloadllvm-69d66fafec968b17f84e30bc09faffb3dc8e5f15.zip
llvm-69d66fafec968b17f84e30bc09faffb3dc8e5f15.tar.gz
llvm-69d66fafec968b17f84e30bc09faffb3dc8e5f15.tar.bz2
[clang] Fix description for fprofile-sample-use= on Windows (#117973)
We only support -fprofile-sample-use= for clang-cl.
-rw-r--r--clang/docs/UsersManual.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/docs/UsersManual.rst b/clang/docs/UsersManual.rst
index e5d67bc..43b41a2 100644
--- a/clang/docs/UsersManual.rst
+++ b/clang/docs/UsersManual.rst
@@ -2660,7 +2660,7 @@ usual build cycle when using sample profilers for optimization:
> clang-cl /O2 -gdwarf -gline-tables-only ^
/clang:-fdebug-info-for-profiling /clang:-funique-internal-linkage-names ^
- /fprofile-sample-use=code.prof code.cc /Fe:code -fuse-ld=lld /link /debug:dwarf
+ -fprofile-sample-use=code.prof code.cc /Fe:code -fuse-ld=lld /link /debug:dwarf
[OPTIONAL] Sampling-based profiles can have inaccuracies or missing block/
edge counters. The profile inference algorithm (profi) can be used to infer
@@ -2679,7 +2679,7 @@ usual build cycle when using sample profilers for optimization:
> clang-cl /clang:-fsample-profile-use-profi /O2 -gdwarf -gline-tables-only ^
/clang:-fdebug-info-for-profiling /clang:-funique-internal-linkage-names ^
- /fprofile-sample-use=code.prof code.cc /Fe:code -fuse-ld=lld /link /debug:dwarf
+ -fprofile-sample-use=code.prof code.cc /Fe:code -fuse-ld=lld /link /debug:dwarf
Sample Profile Formats
""""""""""""""""""""""