LLVM Builder: Emit type for debug subprogram

This commit is contained in:
antlilja
2024-02-22 15:24:22 +01:00
parent 4b215e3a11
commit 92eec8dfec
2 changed files with 2 additions and 2 deletions

View File

@@ -13879,7 +13879,7 @@ pub fn toBitcode(self: *Builder, allocator: Allocator) bitcode_writer.Error![]co
.linkage_name = extra.linkage_name,
.file = extra.file,
.line = extra.line,
.ty = .none, //extra.ty,
.ty = extra.ty,
.scope_line = extra.scope_line,
.sp_flags = @bitCast(@as(u32, @as(u3, @intCast(
@intFromEnum(kind) - @intFromEnum(Metadata.Tag.subprogram),