[llvm] b5f2db2 - [docs] Fix code-block formating (#100772)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 26 10:13:15 PDT 2024
Author: Vitaly Buka
Date: 2024-07-26T10:13:11-07:00
New Revision: b5f2db20d6403923f31313763c592a20c12527ff
URL: https://github.com/llvm/llvm-project/commit/b5f2db20d6403923f31313763c592a20c12527ff
DIFF: https://github.com/llvm/llvm-project/commit/b5f2db20d6403923f31313763c592a20c12527ff.diff
LOG: [docs] Fix code-block formating (#100772)
Added:
Modified:
llvm/docs/ProgrammersManual.rst
Removed:
################################################################################
diff --git a/llvm/docs/ProgrammersManual.rst b/llvm/docs/ProgrammersManual.rst
index e00165caae0c9..231de56ef4cfe 100644
--- a/llvm/docs/ProgrammersManual.rst
+++ b/llvm/docs/ProgrammersManual.rst
@@ -1392,6 +1392,7 @@ How to use reduce-chunk-list:
First, Figure out the number of calls to the debug counter you want to minimize.
To do so, run the compilation command causing you want to minimize with `-print-debug-counter` adding a `-mllvm` if needed.
Than find the line with the counter of interest. it should look like:
+
.. code-block:: none
my-counter : {5678,empty}
@@ -1400,6 +1401,7 @@ The number of calls to `my-counter` is 5678
Than Find the minimum set of chunks that is interesting, with `reduce-chunk-list`.
Build a reproducer script like:
+
.. code-block:: bash
#! /bin/bash
More information about the llvm-commits
mailing list