about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/counters.rs
diff options
context:
space:
mode:
authorRamon de C Valle <rcvalle@users.noreply.github.com>2023-08-23 16:02:25 -0700
committerRamon de C Valle <rcvalle@users.noreply.github.com>2023-08-24 21:02:06 -0700
commit5d6e2d70509fb521d7329ffa43de538ecf9b3af5 (patch)
treeb7b3026e8d6c91882b03c68b5928b5b4af9c0107 /compiler/rustc_mir_transform/src/coverage/counters.rs
parent249595b7523fc07a99c1adee90b1947739ca0e5b (diff)
downloadrust-5d6e2d70509fb521d7329ffa43de538ecf9b3af5.tar.gz
rust-5d6e2d70509fb521d7329ffa43de538ecf9b3af5.zip
Fix CFI: f32 and f64 are encoded incorrectly for c
Fix #115150 by encoding f32 and f64 correctly for cross-language CFI. I
missed changing the encoding for f32 and f64 when I introduced the
integer normalization option in #105452 as integer normalization does
not include floating point. `f32` and `f64` should be always encoded as
`f` and `d` since they are both FFI safe when their representation are
the same (i.e., IEEE 754) for both the Rust compiler and Clang.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions