summaryrefslogtreecommitdiffstats
path: root/llvm/docs/SourceLevelDebugging.rst
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2017-11-06 11:47:24 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2017-11-06 11:47:24 +0000
commitaaecdc44ae9e4d74f24c8de382435a2be1daf2d7 (patch)
tree1e18ddd91e4f64e0ae9f084282c69487dad8c6e4 /llvm/docs/SourceLevelDebugging.rst
parent669175836406721a9bd856749926f7b5ce6c22e2 (diff)
downloadbcm5719-llvm-aaecdc44ae9e4d74f24c8de382435a2be1daf2d7.tar.gz
bcm5719-llvm-aaecdc44ae9e4d74f24c8de382435a2be1daf2d7.zip
[docs] Update code block for compatibility with Sphinx 1.5.1
It is currently not possible to build the documentation with cmake and the same version of Sphinx (1.5.1) used to generate the public facing documentation on llvm.org. When code blocks cannot be parsed by Pygments, it generates a warning which is treated as an error. In addition to being annoying and confusing for developers, this needlessly increases the bar for newcomers that want to get involved. This patch removes the language specifier from the affected block. The result is the same as when parsing fails: the block are not highlighted. llvm-svn: 317472
Diffstat (limited to 'llvm/docs/SourceLevelDebugging.rst')
-rw-r--r--llvm/docs/SourceLevelDebugging.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/SourceLevelDebugging.rst b/llvm/docs/SourceLevelDebugging.rst
index 491171393ab..103c6e0365b 100644
--- a/llvm/docs/SourceLevelDebugging.rst
+++ b/llvm/docs/SourceLevelDebugging.rst
@@ -188,7 +188,7 @@ the variable. The third argument is a `complex expression
<LangRef.html#diexpression>`_. An `llvm.dbg.addr` intrinsic describes the
*address* of a source variable.
-.. code-block:: llvm
+.. code-block:: text
%i.addr = alloca i32, align 4
call void @llvm.dbg.addr(metadata i32* %i.addr, metadata !1,
OpenPOWER on IntegriCloud