| ... | @@ -1320,7 +1320,7 @@ pub fn flushModule(self: *Elf, comp: *Compilation, prog_node: *std.Progress.Node | ... | @@ -1320,7 +1320,7 @@ pub fn flushModule(self: *Elf, comp: *Compilation, prog_node: *std.Progress.Node |
| 1320 | if (self.zig_module_index) |index| { | 1320 | if (self.zig_module_index) |index| { |
| 1321 | const zig_module = self.file(index).?.zig_module; | 1321 | const zig_module = self.file(index).?.zig_module; |
| 1322 | for (zig_module.atoms.items) |atom_index| { | 1322 | for (zig_module.atoms.items) |atom_index| { |
| 1323 | const atom_ptr = self.atom(atom_index).?; | 1323 | const atom_ptr = self.atom(atom_index) orelse continue; |
| 1324 | if (!atom_ptr.flags.alive) continue; | 1324 | if (!atom_ptr.flags.alive) continue; |
| 1325 | const shdr = &self.shdrs.items[atom_ptr.outputShndx().?]; | 1325 | const shdr = &self.shdrs.items[atom_ptr.outputShndx().?]; |
| 1326 | if (shdr.sh_type == elf.SHT_NOBITS) continue; | 1326 | if (shdr.sh_type == elf.SHT_NOBITS) continue; |