mirror of
https://github.com/ziglang/zig.git
synced 2026-02-02 20:53:44 +00:00
LLVM Builder: Emit type for debug subprogram
This commit is contained in:
parent
4b215e3a11
commit
92eec8dfec
@ -640,7 +640,7 @@ fn addCompilerStep(b: *std.Build, options: AddCompilerStepOptions) *std.Build.St
|
||||
.root_source_file = .{ .path = "src/main.zig" },
|
||||
.target = options.target,
|
||||
.optimize = options.optimize,
|
||||
.max_rss = 7_000_000_000,
|
||||
.max_rss = 12_000_000_000,
|
||||
.strip = options.strip,
|
||||
.sanitize_thread = options.sanitize_thread,
|
||||
.single_threaded = options.single_threaded,
|
||||
|
||||
@ -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),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user