mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
Some dwarf section names like __debug_str_offsets don't fit in a Mach-O sectname buffer, so their actual name in Mach-O binaries is truncated. When searching for sections to load an object file's debug info, we now compare the section name with the truncated name. Before, the full name was checked, so we would unconditionally skip __debug_str_offsets dwarf sections.
589 lines
23 KiB
589 lines
23 KiB