diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-08-23 21:09:12 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-08-23 21:11:02 -0700 |
| commit | 60722261fa465ecff559c9903e0855d538826ed4 (patch) | |
| tree | 682e4e4fac54183af02fb8286da2cb13c5d6f91a /src | |
| parent | 0f01e812ff054ea83661272bf0a96af228f2ffe3 (diff) | |
| download | zig-60722261fa465ecff559c9903e0855d538826ed4.tar.gz zig-60722261fa465ecff559c9903e0855d538826ed4.zip | |
std.debug: DWARFv5 fixes
handle str_offsets_base and addr_base correctly.
handle data16
fix compilation on 32-bit hosts
remove stray debug print statement
closes #12120
Diffstat (limited to 'src')
| -rw-r--r-- | src/link/MachO.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/link/MachO.zig b/src/link/MachO.zig index 91eaedc734..764e4e71b2 100644 --- a/src/link/MachO.zig +++ b/src/link/MachO.zig @@ -5862,8 +5862,8 @@ pub fn generateSymbolStabs( else => |e| return e, }; - const tu_name = try compile_unit.die.getAttrString(&debug_info, dwarf.AT.name, debug_info.debug_str); - const tu_comp_dir = try compile_unit.die.getAttrString(&debug_info, dwarf.AT.comp_dir, debug_info.debug_str); + const tu_name = try compile_unit.die.getAttrString(&debug_info, dwarf.AT.name, debug_info.debug_str, compile_unit.*); + const tu_comp_dir = try compile_unit.die.getAttrString(&debug_info, dwarf.AT.comp_dir, debug_info.debug_str, compile_unit.*); // Open scope try locals.ensureUnusedCapacity(3); |
