summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2018-12-05 08:35:30 +0000
committerHans Wennborg <hans@hanshq.net>2018-12-05 08:35:30 +0000
commit45562a3aba4e8240a6d3949d0befdb64211a3913 (patch)
tree7f91240bb652c6d0180b912d95b439cce2dd0ae3
parentc361e0d62771535284cfb29f4c69be0c76284462 (diff)
downloadbcm5719-llvm-45562a3aba4e8240a6d3949d0befdb64211a3913.tar.gz
bcm5719-llvm-45562a3aba4e8240a6d3949d0befdb64211a3913.zip
HowToBuildWithPGO.rst: Fix a few details in the manual steps
Differential revision: https://reviews.llvm.org/D55268 llvm-svn: 348342
-rw-r--r--llvm/docs/HowToBuildWithPGO.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/docs/HowToBuildWithPGO.rst b/llvm/docs/HowToBuildWithPGO.rst
index ba93bc64a29..77867dbc1d5 100644
--- a/llvm/docs/HowToBuildWithPGO.rst
+++ b/llvm/docs/HowToBuildWithPGO.rst
@@ -125,12 +125,12 @@ In more detailed steps:
It's recommended to build the ``all`` target with your instrumented Clang,
since more coverage is often better.
- b. You should now have a few ``*.profdata`` files in
+ b. You should now have a few ``*.profraw`` files in
``path/to/stage2/profiles/``. You need to merge these using
``llvm-profdata`` (even if you only have one! The profile merge transforms
profraw into actual profile data, as well). This can be done with
- ``/path/to/stage1/llvm-profdata -merge
- -output=/path/to/output/profdata.prof path/to/stage2/profiles/*.profdata``.
+ ``/path/to/stage1/llvm-profdata merge
+ -output=/path/to/output/profdata.prof path/to/stage2/profiles/*.profraw``.
4. Now, build your final, PGO-optimized Clang. To do this, you'll want to pass
the following additional arguments to CMake.
OpenPOWER on IntegriCloud