| ... | @@ -206,6 +206,8 @@ pub fn flushModule(self: *DebugSymbols, macho_file: *MachO) !void { | ... | @@ -206,6 +206,8 @@ pub fn flushModule(self: *DebugSymbols, macho_file: *MachO) !void { |
| 206 | // and it corresponds to the Zig source code. | 206 | // and it corresponds to the Zig source code. |
| 207 | const zcu = comp.module orelse return error.LinkingWithoutZigSourceUnimplemented; | 207 | const zcu = comp.module orelse return error.LinkingWithoutZigSourceUnimplemented; |
| 208 | | 208 | |
| | 209 | try self.dwarf.flushModule(zcu); |
| | 210 | |
| 209 | for (self.relocs.items) |*reloc| { | 211 | for (self.relocs.items) |*reloc| { |
| 210 | const sym = macho_file.getSymbol(reloc.target); | 212 | const sym = macho_file.getSymbol(reloc.target); |
| 211 | const sym_name = sym.getName(macho_file); | 213 | const sym_name = sym.getName(macho_file); |