| ... | @@ -134,10 +134,10 @@ fn writeMachOHeader(self: *MachO) !void { | ... | @@ -134,10 +134,10 @@ fn writeMachOHeader(self: *MachO) !void { |
| 134 | pub fn flush(self: *MachO, module: *Module) !void { | 134 | pub fn flush(self: *MachO, module: *Module) !void { |
| 135 | // TODO implement flush | 135 | // TODO implement flush |
| 136 | if (self.entry_addr == null and self.base.options.output_mode == .Exe) { | 136 | if (self.entry_addr == null and self.base.options.output_mode == .Exe) { |
| 137 | log.debug(.link, "flushing. no_entry_point_found = true\n", .{}); | 137 | log.debug("flushing. no_entry_point_found = true\n", .{}); |
| 138 | self.error_flags.no_entry_point_found = true; | 138 | self.error_flags.no_entry_point_found = true; |
| 139 | } else { | 139 | } else { |
| 140 | log.debug(.link, "flushing. no_entry_point_found = false\n", .{}); | 140 | log.debug("flushing. no_entry_point_found = false\n", .{}); |
| 141 | self.error_flags.no_entry_point_found = false; | 141 | self.error_flags.no_entry_point_found = false; |
| 142 | try self.writeMachOHeader(); | 142 | try self.writeMachOHeader(); |
| 143 | } | 143 | } |