diff options
| author | Matthew Maurer <mmaurer@google.com> | 2024-05-06 16:44:43 +0000 |
|---|---|---|
| committer | Matthew Maurer <mmaurer@google.com> | 2024-05-06 16:53:17 +0000 |
| commit | 4d397d33da8aff64419a03694d152c8250916f19 (patch) | |
| tree | 3f329f71199fd7a4181ff2185744ea42c8cf4ca4 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 25e3949aa1b24b3f62a72c1f713830aa1d1efcd4 (diff) | |
| download | rust-4d397d33da8aff64419a03694d152c8250916f19.tar.gz rust-4d397d33da8aff64419a03694d152c8250916f19.zip | |
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
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
