Skip to content

Commit 891eb20

Browse files
committed
[LLDB][Docs][NFC] Fix formatting in -gmodules documentation
1 parent 05ae747 commit 891eb20

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lldb/docs/use/extensions.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ Clang ``-gmodules`` debug info
88

99
On Darwin platforms, including Apple macOS and iOS, Clang can emit
1010
DWARF debug info for types found in `Clang
11-
modules<https://clang.llvm.org/docs/Modules.html>`_ more efficiently.
11+
modules <https://clang.llvm.org/docs/Modules.html>`_ more efficiently.
1212

1313
From an on-disk storage perspective, Clang modules are precompiled
1414
header files that contain serialized Clang ASTs of all the
1515
declarations found in a Clang module. In traditional DWARF debug info,
1616
two object files that were built from sources that imported the same
1717
header file will both contain DWARF debug type info for types in that
1818
header file. This can lead to a lot of redundant `debug
19-
info<https://llvm.org/devmtg/2015-10/#talk19>`_.
19+
info <https://llvm.org/devmtg/2015-10/#talk19>`_.
2020

2121
When Clang compiles a Clang module or precompiled header with the
2222
``-gmodules`` option, the precompiled header (``.pch``) or module
@@ -57,6 +57,7 @@ M.h
5757
M.pcm
5858

5959
::
60+
6061
DW_TAG_compile_unit
6162
DW_AT_GNU_dwo_id (0xabcdef)
6263
DW_TAG_module
@@ -69,11 +70,13 @@ M.pcm
6970
A.c
7071

7172
::
73+
7274
A a;
7375

7476
A.o
7577

7678
::
79+
7780
DW_TAG_compile_unit
7881
DW_TAG_module
7982
DW_AT_name "M"

0 commit comments

Comments
 (0)