diff options
author | Jeroen Ketema <j.ketema@imperial.ac.uk> | 2014-06-09 10:12:29 +0000 |
---|---|---|
committer | Jeroen Ketema <j.ketema@imperial.ac.uk> | 2014-06-09 10:12:29 +0000 |
commit | 503447efbacbb69b9aa2401f53286ed9e027c42b (patch) | |
tree | 56ad80d771a51a40f33b57e5aab0c492d9d9c110 /docs/SourceLevelDebugging.rst | |
parent | 0c7ac480e208954e393cc69b68d66520a48d6c40 (diff) | |
download | llvm-503447efbacbb69b9aa2401f53286ed9e027c42b.tar.gz llvm-503447efbacbb69b9aa2401f53286ed9e027c42b.tar.bz2 llvm-503447efbacbb69b9aa2401f53286ed9e027c42b.tar.xz |
[docs] Fix typo, align comments, fix syntax highlighting
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210462 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/SourceLevelDebugging.rst')
-rw-r--r-- | docs/SourceLevelDebugging.rst | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/docs/SourceLevelDebugging.rst b/docs/SourceLevelDebugging.rst index f957a7dfd4..a4fbd72167 100644 --- a/docs/SourceLevelDebugging.rst +++ b/docs/SourceLevelDebugging.rst @@ -235,8 +235,8 @@ File descriptors .. code-block:: llvm !0 = metadata !{ - i32, ;; Tag = 41 (DW_TAG_file_type) - metadata, ;; Source directory (including trailing slash) & file pair + i32, ;; Tag = 41 (DW_TAG_file_type) + metadata, ;; Source directory (including trailing slash) & file pair } These descriptors contain information for a file. Global variables and top @@ -269,7 +269,7 @@ Global variable descriptors metadata, ;; The static member declaration, if any } -These descriptors provide debug information about globals variables. They +These descriptors provide debug information about global variables. They provide details such as name, type and where the variable is defined. All global variables are collected inside the named metadata ``!llvm.dbg.cu``. @@ -297,7 +297,7 @@ Subprogram descriptors ;; derived class i32, ;; Flags - Artificial, Private, Protected, Explicit, Prototyped. i1, ;; isOptimized - Function * , ;; Pointer to LLVM function + {}*, ;; Reference to the LLVM function metadata, ;; Lists function template parameters metadata, ;; Function declaration descriptor metadata, ;; List of function variables @@ -314,13 +314,13 @@ Block descriptors .. code-block:: llvm !3 = metadata !{ - i32, ;; Tag = 11 (DW_TAG_lexical_block) - metadata,;; Source directory (including trailing slash) & file pair - 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 + i32, ;; Tag = 11 (DW_TAG_lexical_block) + metadata, ;; Source directory (including trailing slash) & file pair + 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 } This descriptor provides debug information about nested blocks within a @@ -330,9 +330,9 @@ lexical blocks at same depth. .. code-block:: llvm !3 = metadata !{ - i32, ;; Tag = 11 (DW_TAG_lexical_block) - metadata,;; Source directory (including trailing slash) & file pair - metadata ;; Reference to the scope we're annotating with a file change + i32, ;; Tag = 11 (DW_TAG_lexical_block) + metadata, ;; Source directory (including trailing slash) & file pair + metadata ;; Reference to the scope we're annotating with a file change } This descriptor provides a wrapper around a lexical scope to handle file @@ -528,9 +528,9 @@ Subrange descriptors .. code-block:: llvm !42 = metadata !{ - i32, ;; Tag = 33 (DW_TAG_subrange_type) - i64, ;; Low value - i64 ;; High value + i32, ;; Tag = 33 (DW_TAG_subrange_type) + i64, ;; Low value + i64 ;; High value } These descriptors are used to define ranges of array subscripts for an array |