diff options
| author | LemonBoy <thatlemon@gmail.com> | 2020-02-22 18:02:55 +0100 |
|---|---|---|
| committer | LemonBoy <thatlemon@gmail.com> | 2020-02-23 22:47:48 +0100 |
| commit | 08047cd6d710603a5391c9e88a7369f5dcfa196f (patch) | |
| tree | e56f0f1a34d7ba351400c8588d3216f97855b33f /lib/std/debug.zig | |
| parent | 495e894225d3bb5695681be87ed0cd1b7f9825a2 (diff) | |
| download | zig-08047cd6d710603a5391c9e88a7369f5dcfa196f.tar.gz zig-08047cd6d710603a5391c9e88a7369f5dcfa196f.zip | |
correct test expectations
Diffstat (limited to 'lib/std/debug.zig')
| -rw-r--r-- | lib/std/debug.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/debug.zig b/lib/std/debug.zig index cce3cd7917..a9f9819a25 100644 --- a/lib/std/debug.zig +++ b/lib/std/debug.zig @@ -493,7 +493,7 @@ fn populateModule(di: *ModuleDebugInfo, mod: *Module) !void { sect_offset += @sizeOf(pdb.DebugSubsectionHeader); switch (subsect_hdr.Kind) { - pdb.DebugSubsectionKind.FileChecksums => { + .FileChecksums => { mod.checksum_offset = sect_offset; break; }, @@ -1465,7 +1465,7 @@ pub const ModuleDebugInfo = switch (builtin.os) { sect_offset += @sizeOf(pdb.DebugSubsectionHeader); switch (subsect_hdr.Kind) { - pdb.DebugSubsectionKind.Lines => { + .Lines => { var line_index = sect_offset; const line_hdr = @ptrCast(*pdb.LineFragmentHeader, &subsect_info[line_index]); |
