| ... | ... | @@ -134,10 +134,10 @@ fn writeMachOHeader(self: *MachO) !void { |
| 134 | 134 | pub fn flush(self: *MachO, module: *Module) !void { |
| 135 | 135 | // TODO implement flush |
| 136 | 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 | 138 | self.error_flags.no_entry_point_found = true; |
| 139 | 139 | } else { |
| 140 | | log.debug(.link, "flushing. no_entry_point_found = false\n", .{}); |
| 140 | log.debug("flushing. no_entry_point_found = false\n", .{}); |
| 141 | 141 | self.error_flags.no_entry_point_found = false; |
| 142 | 142 | try self.writeMachOHeader(); |
| 143 | 143 | } |