about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-05-07 03:46:03 +0000
committerbors <bors@rust-lang.org>2024-05-07 03:46:03 +0000
commitd71b3f486ac5e990acc33b22d308fcd57cbe9114 (patch)
treec459d1ec6f271eaa4196f16b9f877acd419e0709 /compiler/rustc_codegen_llvm/src/errors.rs
parent5ae5d135372c4b576edc73c191d2dc86b1d16b5c (diff)
parent4d397d33da8aff64419a03694d152c8250916f19 (diff)
downloadrust-d71b3f486ac5e990acc33b22d308fcd57cbe9114.tar.gz
rust-d71b3f486ac5e990acc33b22d308fcd57cbe9114.zip
Auto merge of #124813 - maurer:llvm-aarch64-fn32, r=nikic
Adjust 64-bit ARM data layouts for LLVM update

LLVM has updated data layouts to specify `Fn32` on 64-bit ARM to avoid C++ accidentally underaligning functions when trying to comply with member function ABIs.

This should only affect Rust in cases where we had a similar bug (I don't believe we have one), but our data layout must match to generate code.

As a compatibility adaptatation, if LLVM is not version 19 yet, `Fn32` gets voided from the data layout.

See llvm/llvm-project#90415

`@rustbot` label: +llvm-main
cc `@krasimirgg`
r? `@durin42`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions