motiejus/zig

fork of https://codeberg.org/ziglang/zig
git clone https://git.jakstys.lt/motiejus/zig.git
Log | Tree | Refs | README | LICENSE

commit 5e9d0da43bd5dbda5a1d0e3d2d913efc6a071465 (tree)
parent e57f553c07cff62871927146e072be43f13432e3
Author: antlilja <liljaanton2001@gmail.com>
Date:   Wed, 21 Feb 2024 23:32:21 +0100

LLVM Builder: Correctly emit debug subranges

The bitcode abbrev was missing the subrange code

Diffstat:
Msrc/codegen/llvm/IR.zig | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/codegen/llvm/IR.zig b/src/codegen/llvm/IR.zig @@ -857,6 +857,7 @@ pub const MetadataBlock = struct { pub const Subrange = struct { pub const ops = [_]AbbrevOp{ + .{ .literal = 13 }, .{ .literal = 0b11 }, MetadataAbbrev, // count MetadataAbbrev, // lower bound