diff options
author | Diego Novillo <dnovillo@google.com> | 2014-03-03 18:53:17 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@google.com> | 2014-03-03 18:53:17 +0000 |
commit | 6f8c0c061331324faef1fdb6e39724045fc7a140 (patch) | |
tree | a6893e570add59bee7bdd7c34d2486a61fdb44e1 /docs | |
parent | 98b5aaeebbd2eff44aa74d456fece7d3f92e9de5 (diff) | |
download | llvm-6f8c0c061331324faef1fdb6e39724045fc7a140.tar.gz llvm-6f8c0c061331324faef1fdb6e39724045fc7a140.tar.bz2 llvm-6f8c0c061331324faef1fdb6e39724045fc7a140.tar.xz |
Add DWARF discriminator support to DILexicalBlocks.
This adds support for emitting discriminators from DILexicalBlocks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202736 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/SourceLevelDebugging.rst | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/SourceLevelDebugging.rst b/docs/SourceLevelDebugging.rst index a6349fba86..5d7a528c2e 100644 --- a/docs/SourceLevelDebugging.rst +++ b/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} |