Skip to content

Commit 7b703bd

Browse files
authored
[lldb][docs] Fix "Developing LLDB" table of contents (llvm#113166)
Currently all the headings marked as `#` show up as a top-level entry in the `Developing LLDB` toctree. This patch marks these as `##` so only `Adding Programming Language Support` is displayed in the table of contents.
1 parent 74e1554 commit 7b703bd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lldb/docs/resources/addinglanguagesupport.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,21 +49,21 @@ clearer that evaluation with the static `Module`-returned `TypeSystem` instances
4949
make no sense, and have them error out on those calls. But either approach is
5050
fine.
5151

52-
# Creating Types
52+
## Creating Types
5353

5454
Your `TypeSystem` will need an approach for creating types based on a set of
5555
`Module`s. If your type info is going to come from DWARF info, you will want to
5656
subclass [DWARFASTParser](https://github.com/llvm/llvm-project/blob/main/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.h).
5757

5858

59-
# Add Expression Evaluation Support
59+
## Add Expression Evaluation Support
6060

6161
Expression Evaluation support is enabled by implementing the relevant methods on
6262
a `TypeSystem`-derived class. Search for `Expression` in the
6363
[TypeSystem header](https://github.com/llvm/llvm-project/blob/main/lldb/include/lldb/Symbol/TypeSystem.h)
6464
to find the methods to implement.
6565

66-
# Type Completion
66+
## Type Completion
6767

6868
There are three levels of type completion, each requiring more type information:
6969
1. Pointer size: When you have a forward decl or a reference, and that's all you
@@ -76,7 +76,7 @@ There are three levels of type completion, each requiring more type information:
7676
Ensure you never complete more of a type than is needed for a given situation.
7777
This will keep your type system from doing more work than necessary.
7878

79-
# Language and LanguageRuntime Plugins
79+
## Language and LanguageRuntime Plugins
8080

8181
If you followed the steps outlined above, you already have taught LLDB a great
8282
deal about your language. If your language's runtime model and fundamental data
@@ -92,4 +92,4 @@ These tasks are covered by two plugins:
9292
information (for example dynamic type resolution).
9393
* a `Language` plugin, which provides LLDB with a static view of your language;
9494
questions that are statically knowable and do not require a process are
95-
answered by this plugin (for example data formatters).
95+
answered by this plugin (for example data formatters).

0 commit comments

Comments
 (0)