@@ -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