zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 136a508027dc13306eaea5ad8e77d384112bb897 (tree)
parent ecb341a006c4361aff1755c9d2d2644d35528dcd
Author: Jakub Konka <kubkon@jakubkonka.com>
Date:   Thu,  8 Dec 2022 10:56:49 +0100

dsym: finish markDirty helper

Diffstat:
Msrc/link/MachO/DebugSymbols.zig | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/link/MachO/DebugSymbols.zig b/src/link/MachO/DebugSymbols.zig @@ -180,6 +180,12 @@ pub fn markDirty(self: *DebugSymbols, sect_index: u8) void { self.debug_info_header_dirty = true; } else if (self.debug_line_section_index.? == sect_index) { self.debug_line_header_dirty = true; + } else if (self.debug_abbrev_section_index.? == sect_index) { + self.debug_abbrev_section_dirty = true; + } else if (self.debug_str_section_index.? == sect_index) { + self.debug_string_table_dirty = true; + } else if (self.debug_aranges_section_index.? == sect_index) { + self.debug_aranges_section_dirty = true; } }