about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-07-09 09:07:42 +0000
committerbors <bors@rust-lang.org>2024-07-09 09:07:42 +0000
commit8672b2b7636fdb8cc1963af10ee9ae18b57709c1 (patch)
treeff1513ed06d5ea46400ed0c63ae1c1b223fa66d0 /compiler/rustc_codegen_gcc
parent5be2ec7245de6e8015a0daedf24d20e3e5bf2062 (diff)
parentb058de90a3fb482aef147a9807602364b36c93a0 (diff)
downloadrust-8672b2b7636fdb8cc1963af10ee9ae18b57709c1.tar.gz
rust-8672b2b7636fdb8cc1963af10ee9ae18b57709c1.zip
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
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions