| ... | @@ -1627,12 +1627,6 @@ pub fn flushModule(self: *Elf, comp: *Compilation, prog_node: *std.Progress.Node | ... | @@ -1627,12 +1627,6 @@ pub fn flushModule(self: *Elf, comp: *Compilation, prog_node: *std.Progress.Node |
| 1627 | try self.writeHeader(); | 1627 | try self.writeHeader(); |
| 1628 | } | 1628 | } |
| 1629 | | 1629 | |
| 1630 | // Dump the state for easy debugging. | | |
| 1631 | // State can be dumped via `--debug-log link_state`. | | |
| 1632 | if (build_options.enable_logging) { | | |
| 1633 | state_log.debug("{}", .{self.dumpState()}); | | |
| 1634 | } | | |
| 1635 | | | |
| 1636 | // The point of flush() is to commit changes, so in theory, nothing should | 1630 | // The point of flush() is to commit changes, so in theory, nothing should |
| 1637 | // be dirty after this. However, it is possible for some things to remain | 1631 | // be dirty after this. However, it is possible for some things to remain |
| 1638 | // dirty because they fail to be written in the event of compile errors, | 1632 | // dirty because they fail to be written in the event of compile errors, |