Author: Flash Sheridan Date: 2023-01-27T17:57:59-08:00 New Revision: 00ecf3f339624dc8b44737a2347076382de3720f
URL: https://github.com/llvm/llvm-project/commit/00ecf3f339624dc8b44737a2347076382de3720f DIFF: https://github.com/llvm/llvm-project/commit/00ecf3f339624dc8b44737a2347076382de3720f.diff LOG: Added a note that "%p" is also a Lit token and needs to be escaped. Differential revision: https://reviews.llvm.org/D140730 Added: Modified: clang/docs/SourceBasedCodeCoverage.rst Removed: ################################################################################ diff --git a/clang/docs/SourceBasedCodeCoverage.rst b/clang/docs/SourceBasedCodeCoverage.rst index f92e8d8fc4d6..3a5d1cefb7e5 100644 --- a/clang/docs/SourceBasedCodeCoverage.rst +++ b/clang/docs/SourceBasedCodeCoverage.rst @@ -130,7 +130,8 @@ backend during compilation. For a program such as the :doc:`Lit <CommandGuide/lit>` testing tool which invokes other programs, it may be necessary to set ``LLVM_PROFILE_FILE`` for each invocation. The pattern strings "%p" or "%Nm" may help to avoid -corruption due to concurrency. +corruption due to concurrency. Note that "%p" is also a Lit token and needs +to be escaped as "%%p". .. code-block:: console _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits