[Lldb-commits] [lldb] 891eb20 - [LLDB][Docs][NFC] Fix formatting in -gmodules documentation

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 25 04:34:20 PDT 2022


Author: Michael Buch
Date: 2022-10-25T12:34:00+01:00
New Revision: 891eb20104b6b77c7ff85f532bbce2a28ee9eeb0

URL: https://github.com/llvm/llvm-project/commit/891eb20104b6b77c7ff85f532bbce2a28ee9eeb0
DIFF: https://github.com/llvm/llvm-project/commit/891eb20104b6b77c7ff85f532bbce2a28ee9eeb0.diff

LOG: [LLDB][Docs][NFC] Fix formatting in -gmodules documentation

Added: 
    

Modified: 
    lldb/docs/use/extensions.rst

Removed: 
    


################################################################################
diff  --git a/lldb/docs/use/extensions.rst b/lldb/docs/use/extensions.rst
index 4a3f1ac177ab..3c73326dfa2b 100644
--- a/lldb/docs/use/extensions.rst
+++ b/lldb/docs/use/extensions.rst
@@ -8,7 +8,7 @@ Clang ``-gmodules`` debug info
 
 On Darwin platforms, including Apple macOS and iOS, Clang can emit
 DWARF debug info for types found in `Clang
-modules<https://clang.llvm.org/docs/Modules.html>`_ more efficiently.
+modules <https://clang.llvm.org/docs/Modules.html>`_ more efficiently.
 
 From an on-disk storage perspective, Clang modules are precompiled
 header files that contain serialized Clang ASTs of all the
@@ -16,7 +16,7 @@ declarations found in a Clang module. In traditional DWARF debug info,
 two object files that were built from sources that imported the same
 header file will both contain DWARF debug type info for types in that
 header file. This can lead to a lot of redundant `debug
-info<https://llvm.org/devmtg/2015-10/#talk19>`_.
+info <https://llvm.org/devmtg/2015-10/#talk19>`_.
 
 When Clang compiles a Clang module or precompiled header with the
 ``-gmodules`` option, the precompiled header (``.pch``) or module
@@ -57,6 +57,7 @@ M.h
 M.pcm
 
 ::
+
    DW_TAG_compile_unit
      DW_AT_GNU_dwo_id  (0xabcdef)
      DW_TAG_module
@@ -69,11 +70,13 @@ M.pcm
 A.c
    
 ::
+
    A a;
 
 A.o
 
 ::
+
    DW_TAG_compile_unit
      DW_TAG_module
        DW_AT_name "M"


        


More information about the lldb-commits mailing list