diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-02-08 03:58:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-08 03:58:45 +0100 |
| commit | 93b194516af4eb85d1be589d99200a624fc01696 (patch) | |
| tree | 95de4c08d02660f6cda68c2b542dece2432e87da /compiler/rustc_codegen_llvm/src/back/write.rs | |
| parent | e0607238c95df66e3d25a6c17aebe18c6726fc74 (diff) | |
| parent | 4385a9e06384238f1c6be7fe0f9646e17812f851 (diff) | |
| download | rust-93b194516af4eb85d1be589d99200a624fc01696.tar.gz rust-93b194516af4eb85d1be589d99200a624fc01696.zip | |
Rollup merge of #136640 - Zalathar:debuginfo-align-bits, r=compiler-errors
Debuginfo for function ZSTs should have alignment of 8 bits, not 1 bit In #116096, function ZSTs were made to have debuginfo that gives them an alignment of “1”. But because alignment in LLVM debuginfo is denoted in *bits*, not bytes, this resulted in an alignment specification of 1 bit instead of 1 byte. I don't know whether this has any practical consequences, but I noticed that a test started failing when I accidentally fixed the mistake while working on #136632, so I extracted the fix (and the test adjustment) to this PR.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back/write.rs')
0 files changed, 0 insertions, 0 deletions
