[llvm] r348342 - HowToBuildWithPGO.rst: Fix a few details in the manual steps

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 5 00:35:30 PST 2018


Author: hans
Date: Wed Dec  5 00:35:30 2018
New Revision: 348342

URL: http://llvm.org/viewvc/llvm-project?rev=348342&view=rev
Log:
HowToBuildWithPGO.rst: Fix a few details in the manual steps

Differential revision: https://reviews.llvm.org/D55268

Modified:
    llvm/trunk/docs/HowToBuildWithPGO.rst

Modified: llvm/trunk/docs/HowToBuildWithPGO.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/HowToBuildWithPGO.rst?rev=348342&r1=348341&r2=348342&view=diff
==============================================================================
--- llvm/trunk/docs/HowToBuildWithPGO.rst (original)
+++ llvm/trunk/docs/HowToBuildWithPGO.rst Wed Dec  5 00:35:30 2018
@@ -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.




More information about the llvm-commits mailing list