[PATCH] D55268: HowToBuildWithPGO.rst: Fix a few details in the manual steps

Hans Wennborg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 4 07:14:45 PST 2018


hans created this revision.
hans added a reviewer: george.burgess.iv.

The steps were easy to follow, I just noticed a few details to adjust.


https://reviews.llvm.org/D55268

Files:
  docs/HowToBuildWithPGO.rst


Index: docs/HowToBuildWithPGO.rst
===================================================================
--- docs/HowToBuildWithPGO.rst
+++ docs/HowToBuildWithPGO.rst
@@ -125,12 +125,12 @@
       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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55268.176632.patch
Type: text/x-patch
Size: 1027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181204/631e7bb9/attachment.bin>


More information about the llvm-commits mailing list