| ... | @@ -3678,7 +3678,7 @@ fn updateStage1Module(comp: *Compilation, main_progress_node: *std.Progress.Node | ... | @@ -3678,7 +3678,7 @@ fn updateStage1Module(comp: *Compilation, main_progress_node: *std.Progress.Node |
| 3678 | man.hash.add(comp.bin_file.options.emit != null); | 3678 | man.hash.add(comp.bin_file.options.emit != null); |
| 3679 | man.hash.add(mod.emit_h != null); | 3679 | man.hash.add(mod.emit_h != null); |
| 3680 | if (mod.emit_h) |emit_h| { | 3680 | if (mod.emit_h) |emit_h| { |
| 3681 | man.hash.addEmitLoc(emit_h); | 3681 | man.hash.addEmitLoc(emit_h.loc); |
| 3682 | } | 3682 | } |
| 3683 | man.hash.addOptionalEmitLoc(comp.emit_asm); | 3683 | man.hash.addOptionalEmitLoc(comp.emit_asm); |
| 3684 | man.hash.addOptionalEmitLoc(comp.emit_llvm_ir); | 3684 | man.hash.addOptionalEmitLoc(comp.emit_llvm_ir); |
| ... | @@ -3797,7 +3797,8 @@ fn updateStage1Module(comp: *Compilation, main_progress_node: *std.Progress.Node | ... | @@ -3797,7 +3797,8 @@ fn updateStage1Module(comp: *Compilation, main_progress_node: *std.Progress.Node |
| 3797 | if (mod.emit_h != null) { | 3797 | if (mod.emit_h != null) { |
| 3798 | log.warn("-femit-h is not available in the stage1 backend; no .h file will be produced", .{}); | 3798 | log.warn("-femit-h is not available in the stage1 backend; no .h file will be produced", .{}); |
| 3799 | } | 3799 | } |
| 3800 | const emit_h_path = try stage1LocPath(arena, mod.emit_h, directory); | 3800 | const emit_h_loc: ?EmitLoc = if (mod.emit_h) |emit_h| emit_h.loc else null; |
| | 3801 | const emit_h_path = try stage1LocPath(arena, emit_h_loc, directory); |
| 3801 | const emit_asm_path = try stage1LocPath(arena, comp.emit_asm, directory); | 3802 | const emit_asm_path = try stage1LocPath(arena, comp.emit_asm, directory); |
| 3802 | const emit_llvm_ir_path = try stage1LocPath(arena, comp.emit_llvm_ir, directory); | 3803 | const emit_llvm_ir_path = try stage1LocPath(arena, comp.emit_llvm_ir, directory); |
| 3803 | const emit_analysis_path = try stage1LocPath(arena, comp.emit_analysis, directory); | 3804 | const emit_analysis_path = try stage1LocPath(arena, comp.emit_analysis, directory); |