| author | |
| committer | |
| log | 7bebb24838a603a436b58e49ee85110af9e8e05f |
| tree | b0cade24a1ee14777be05644c19d76d158c3ab29 |
| parent | d3ddb480756dc10b80e795db07aa5fcc7f9290d1 |
2 files changed, 1 insertions(+), 1 deletions(-)
lib/std/debug.zig+1| ... | ... | @@ -681,6 +681,7 @@ fn readCoffDebugInfo(allocator: *mem.Allocator, coff_file: File) !ModuleDebugInf |
| 681 | 681 | try di.coff.loadSections(); |
| 682 | 682 | if (di.coff.getSection(".debug_info")) |sec| { |
| 683 | 683 | // This coff file has embedded DWARF debug info |
| 684 | _ = sec; | |
| 684 | 685 | // TODO: free the section data slices |
| 685 | 686 | const debug_info_data = di.coff.getSectionData(".debug_info", allocator) catch null; |
| 686 | 687 | const debug_abbrev_data = di.coff.getSectionData(".debug_abbrev", allocator) catch null; |
src/Sema.zig-1| ... | ... | @@ -5809,7 +5809,6 @@ fn zirIntToPtr(sema: *Sema, block: *Scope.Block, inst: Zir.Inst.Index) InnerErro |
| 5809 | 5809 | return sema.mod.fail(&block.base, type_src, "expected pointer, found '{}'", .{type_res}); |
| 5810 | 5810 | const ptr_align = type_res.ptrAlignment(sema.mod.getTarget()); |
| 5811 | 5811 | |
| 5812 | const uncasted_operand = try sema.resolveInst(extra.rhs); | |
| 5813 | 5812 | if (try sema.resolveDefinedValue(block, operand_src, operand_coerced)) |val| { |
| 5814 | 5813 | const addr = val.toUnsignedInt(); |
| 5815 | 5814 | if (!type_res.isAllowzeroPtr() and addr == 0) |