[clang] 00ecf3f - Added a note that "%p" is also a Lit token and needs to be escaped.
Galina Kistanova via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 27 17:58:17 PST 2023
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
More information about the cfe-commits
mailing list