Debuginfo for function ZSTs should have alignment of 8 bits, not 1 bit

This commit is contained in:
Zalathar 2025-02-06 23:01:29 +11:00
parent 59588250ad
commit 4385a9e063
3 changed files with 10 additions and 11 deletions

View file

@ -633,7 +633,7 @@ impl<'ll, 'tcx> DebugInfoCodegenMethods<'tcx> for CodegenCx<'ll, 'tcx> {
true,
DIFlags::FlagZero,
argument_index,
align.bytes() as u32,
align.bits() as u32,
)
}
}