diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2016-08-17 19:33:52 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2016-08-17 19:33:52 +0000 |
| commit | a7fe922b98bb45be7dce7c1cfe668ec27eeddc74 (patch) | |
| tree | e9648f5bddc775b842e53141d7c9748482f7115a /docs/SourceLevelDebugging.rst | |
| parent | c3aee98e721333f265a88d6bf348e6e468f027d4 (diff) | |
Notes
Diffstat (limited to 'docs/SourceLevelDebugging.rst')
| -rw-r--r-- | docs/SourceLevelDebugging.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/SourceLevelDebugging.rst b/docs/SourceLevelDebugging.rst index 1815ee398e0c..8c3142ed2191 100644 --- a/docs/SourceLevelDebugging.rst +++ b/docs/SourceLevelDebugging.rst @@ -230,7 +230,7 @@ following C fragment, for example: Compiled to LLVM, this function would be represented like this: -.. code-block:: llvm +.. code-block:: text ; Function Attrs: nounwind ssp uwtable define void @foo() #0 !dbg !4 { @@ -303,7 +303,7 @@ The first intrinsic ``%llvm.dbg.declare`` encodes debugging information for the variable ``X``. The metadata ``!dbg !14`` attached to the intrinsic provides scope information for the variable ``X``. -.. code-block:: llvm +.. code-block:: text !14 = !DILocation(line: 2, column: 9, scope: !4) !4 = distinct !DISubprogram(name: "foo", scope: !1, file: !1, line: 1, type: !5, @@ -327,7 +327,7 @@ The third intrinsic ``%llvm.dbg.declare`` encodes debugging information for variable ``Z``. The metadata ``!dbg !19`` attached to the intrinsic provides scope information for the variable ``Z``. -.. code-block:: llvm +.. code-block:: text !18 = distinct !DILexicalBlock(scope: !4, file: !1, line: 4, column: 5) !19 = !DILocation(line: 5, column: 11, scope: !18) @@ -390,7 +390,7 @@ Given an integer global variable declared as follows: a C/C++ front-end would generate the following descriptors: -.. code-block:: llvm +.. code-block:: text ;; ;; Define the global itself. @@ -456,7 +456,7 @@ Given a function declared as follows: a C/C++ front-end would generate the following descriptors: -.. code-block:: llvm +.. code-block:: text ;; ;; Define the anchor for subprograms. |
