You might want to submit the patch to phabricator, mail may be lost.
On Tue, Sep 10, 2019 at 3:44 AM Rayson Ho via cfe-commits <cfe-commits@lists.llvm.org> wrote: > > Found 2 typos when I was trying to use the context sensitive profiling > feature earlier today: > > ==================================================================== > > > $ git diff docs/UsersManual.rst > diff --git a/clang/docs/UsersManual.rst b/clang/docs/UsersManual.rst > index f45d2d5ac0e..0f5f315cfcb 100644 > --- a/clang/docs/UsersManual.rst > +++ b/clang/docs/UsersManual.rst > @@ -1836,7 +1836,7 @@ programs using the same instrumentation method as > ``-fprofile-generate``. > .. code-block:: console > > $ clang++ -O2 -fprofile-use=code.profdata -fcs-profile-generate=sss/ttt \ > - -o cs_code > + code.cc -o cs_code > $ ./cs_code > $ llvm-profdata merge -output=cs_code.profdata sss/ttt code.profdata > > @@ -1846,7 +1846,7 @@ programs using the same instrumentation method as > ``-fprofile-generate``. > > .. code-block:: console > > - $ clang++ -O2 -fprofile-use=cs_code.profdata > + $ clang++ -O2 -fprofile-use=cs_code.profdata code.cc > > The above command will read both profiles to the compiler at the identical > point of instrumenations. > > > ==================================================================== > > Rayson > > ================================================== > Open Grid Scheduler - The Official Open Source Grid Engine > http://gridscheduler.sourceforge.net/ > http://gridscheduler.sourceforge.net/GridEngine/GridEngineCloud.html > _______________________________________________ > cfe-commits mailing list > cfe-commits@lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits