summaryrefslogtreecommitdiffstats
path: root/llvm/docs/SourceLevelDebugging.rst
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2014-03-03 18:53:17 +0000
committerDiego Novillo <dnovillo@google.com>2014-03-03 18:53:17 +0000
commit282450d94c9e059fc08d80d8e93eb994ce3c77fc (patch)
tree5c5b3e29f060899b8839cf6de7bb88e5ff1673cc /llvm/docs/SourceLevelDebugging.rst
parent1863582863867a5cb888e7a9f35f414df9db7958 (diff)
downloadbcm5719-llvm-282450d94c9e059fc08d80d8e93eb994ce3c77fc.tar.gz
bcm5719-llvm-282450d94c9e059fc08d80d8e93eb994ce3c77fc.zip
Add DWARF discriminator support to DILexicalBlocks.
This adds support for emitting discriminators from DILexicalBlocks. llvm-svn: 202736
Diffstat (limited to 'llvm/docs/SourceLevelDebugging.rst')
-rw-r--r--llvm/docs/SourceLevelDebugging.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/llvm/docs/SourceLevelDebugging.rst b/llvm/docs/SourceLevelDebugging.rst
index a6349fba86a..5d7a528c2eb 100644
--- a/llvm/docs/SourceLevelDebugging.rst
+++ b/llvm/docs/SourceLevelDebugging.rst
@@ -319,6 +319,7 @@ Block descriptors
metadata,;; Reference to context descriptor
i32, ;; Line number
i32, ;; Column number
+ i32, ;; DWARF path discriminator value
i32 ;; Unique ID to identify blocks from a template function
}
@@ -724,7 +725,8 @@ Compiled to LLVM, this function would be represented like this:
!15 = metadata !{i32 786688, metadata !16, metadata !"Z", metadata !5, i32 5,
metadata !11, i32 0, i32 0} ; [ DW_TAG_auto_variable ] [Z] \
[line 5]
- !16 = metadata !{i32 786443, metadata !1, metadata !4, i32 4, i32 0, i32 0} \
+ !16 = metadata !{i32 786443, metadata !1, metadata !4, i32 4, i32 0, i32 0,
+ i32 0} \
; [ DW_TAG_lexical_block ] [/private/tmp/t.c]
!17 = metadata !{i32 5, i32 0, metadata !16, null}
!18 = metadata !{i32 6, i32 0, metadata !16, null}
@@ -776,7 +778,8 @@ scope information for the variable ``Z``.
.. code-block:: llvm
- !16 = metadata !{i32 786443, metadata !1, metadata !4, i32 4, i32 0, i32 0}
+ !16 = metadata !{i32 786443, metadata !1, metadata !4, i32 4, i32 0, i32 0,
+ i32 0}
; [ DW_TAG_lexical_block ] [/private/tmp/t.c]
!17 = metadata !{i32 5, i32 0, metadata !16, null}
OpenPOWER on IntegriCloud