rust/compiler/rustc_codegen_llvm/src/debuginfo
bors 8672b2b763 Auto merge of #127001 - beetrees:f16-debuginfo, r=michaelwoerister
Add Natvis visualiser and debuginfo tests for `f16`

To render `f16`s in debuggers on MSVC targets, this PR changes the compiler to output `f16`s as `struct f16 { bits: u16 }`, and includes a Natvis visualiser that manually converts the `f16`'s bits to a `float` which is can then be displayed by debuggers. `gdb`, `lldb` and `cdb` tests are also included for `f16` .

`f16`/`f128` MSVC debug info issue: #121837
Tracking issue: #116909
2024-07-09 09:07:42 +00:00
..
metadata Uplift TypeRelation and Relate 2024-06-01 12:50:58 -04:00
create_scope_map.rs Format all the let chains in compiler 2023-10-13 08:59:36 +00:00
doc.md fix most compiler/ doctests 2022-05-02 17:40:30 -07:00
gdb.rs compiler: replace cstr macro with c str literals in compiler and few other c str replacements 2023-12-03 14:54:09 +03:00
metadata.rs Auto merge of #127001 - beetrees:f16-debuginfo, r=michaelwoerister 2024-07-09 09:07:42 +00:00
mod.rs Remove #[macro_use] extern crate tracing from rustc_codegen_llvm. 2024-05-23 18:02:40 +10:00
namespace.rs Set capacity of the string passed to push_item_name. 2023-06-29 11:46:25 +10:00
utils.rs Remove #[macro_use] extern crate tracing from rustc_codegen_llvm. 2024-05-23 18:02:40 +10:00