Skip to content

Commit 16a4e0b

Browse files
committed
fix typos and footnotes
1 parent 0d2136c commit 16a4e0b

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

src/SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
- [Debug Info](./debuginfo/intro.md)
232232
- [Rust Codegen](./debuginfo/rust-codegen.md)
233233
- [LLVM Codegen](./debuginfo/llvm-codegen.md)
234-
- [Debugger Interanls](./debuginfo/debugger-internals.md)
234+
- [Debugger Internals](./debuginfo/debugger-internals.md)
235235
- [LLDB Internals](./debuginfo/lldb-internals.md)
236236
- [GDB Internals](./debuginfo/gdb-internals.md)
237237
- [Debugger Visualizers](./debuginfo/debugger-visualizers.md)

src/debuginfo/lldb-visualizers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# LLDB - Python Providers
22

33
> NOTE: LLDB's C++<->Python FFI expects a version of python designated at the time LLDB was
4-
>compiled. LLDB is careful to correspond this version to the minimum in typical Linux and MacOs
4+
>compiled. LLDB is careful to correspond this version to the minimum in typical Linux and macOS
55
>distributions, but on Windows there is no easy solution. If you recieve an import error regarding
66
>`_lldb` not existing, a mismatched Python version is likely the cause.
77
>

src/debuginfo/rust-codegen.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -78,27 +78,27 @@ debug info:
7878
| Rust name | MSVC name |
7979
| --- | --- |
8080
| `&str`/`&mut str` | `ref$<str$>`/`ref_mut$<str$>` |
81-
| `&[T]`/`&mut [T]` | `ref$<slice$<T> >`/`ref_mut$<slice$<T> >`* |
81+
| `&[T]`/`&mut [T]` | `ref$<slice$<T> >`/`ref_mut$<slice$<T> >`[^1] |
8282
| `[T; N]` | `array$<T, N>` |
8383
| `RustEnum` | `enum2$<RustEnum>` |
8484
| `(T1, T2)` | `tuple$<T1, T2>`|
8585
| `*const T` | `ptr_const$<T>` |
8686
| `*mut T` | `ptr_mut$<T>` |
87-
| `usize` | `size_t`** |
88-
| `isize` | `ptrdiff_t`** |
89-
| `uN` | `unsigned __intN`** |
90-
| `iN` | `__intN`** |
91-
| `f32` | `float`** |
92-
| `f64` | `double`** |
93-
| `f128` | `fp128`** |
94-
95-
> \* MSVC's expression parser will treat `>>` as a right shift. It is necessary to separate
96-
>consecutive `>`'s with a space (`> >`) in type names.
97-
>
98-
> ** While these type names are generated as part of the debug info node (which is then wrapped in
99-
>a typedef node with the Rust name), once the LLVM-IR node is converted to a CodeView node, the type
100-
>name information is lost. This is because CodeView has special shorthand nodes for primitive types,
101-
>and those shorthand nodes to not have a "name" field.
87+
| `usize` | `size_t`[^2] |
88+
| `isize` | `ptrdiff_t`[^2] |
89+
| `uN` | `unsigned __intN`[^2] |
90+
| `iN` | `__intN`[^2] |
91+
| `f32` | `float`[^2] |
92+
| `f64` | `double`[^2] |
93+
| `f128` | `fp128`[^2] |
94+
95+
[^1]: MSVC's expression parser will treat `>>` as a right shift. It is necessary to separate
96+
consecutive `>`'s with a space (`> >`) in type names.
97+
98+
[^2]: While these type names are generated as part of the debug info node (which is then wrapped in
99+
a typedef node with the Rust name), once the LLVM-IR node is converted to a CodeView node, the type
100+
name information is lost. This is because CodeView has special shorthand nodes for primitive types,
101+
and those shorthand nodes to not have a "name" field.
102102

103103
### Generics
104104

0 commit comments

Comments
 (0)