authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2025-09-16 12:35:34+01:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2025-09-18 00:01:28+01:00
log87ca304a02807c6534ea6a9ba968c539d51718a9
tree173bfe3744f4de68ba37d36ccd52fcbc91dcb304
parent83a3365bfd9dc17067de26b3cb4c9af55a34644e
signaturelock-open Commit is signed but in an unrecognized format.

llvm: fix tagged union payload size in debug info

Resolves: #24415

1 files changed, 1 insertions(+), 1 deletions(-)

src/codegen/llvm.zig+1-1
......@@ -2508,7 +2508,7 @@ pub const Object = struct {
25082508 o.debug_compile_unit, // Scope
25092509 0, // Line
25102510 .none, // Underlying type
2511 ty.abiSize(zcu) * 8,
2511 layout.payload_size * 8,
25122512 (ty.abiAlignment(zcu).toByteUnits() orelse 0) * 8,
25132513 try o.builder.metadataTuple(fields.items),
25142514 );