authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-11-05 18:10:26+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-11-05 20:10:12+01:00
loge88501a09076e134675160c373bbfb5321038541
tree11190d889ed9614a200567e7f3591b2ad1775d3f
parent7b1d2fa004ef8b1f59ff0b54327f47bb98e18563
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

Compilation: Fix unwind table logic for compiler-rt.

This looks to be a refactoring leftover.

1 files changed, 1 insertions(+), 3 deletions(-)

src/Compilation.zig+1-3
......@@ -6155,7 +6155,6 @@ fn buildOutputFromZig(
61556155
61566156 assert(output_mode != .Exe);
61576157
6158 const unwind_tables = comp.link_eh_frame_hdr;
61596158 const strip = comp.compilerRtStrip();
61606159 const optimize_mode = comp.compilerRtOptMode();
61616160
......@@ -6169,7 +6168,6 @@ fn buildOutputFromZig(
61696168 .root_optimize_mode = optimize_mode,
61706169 .root_strip = strip,
61716170 .link_libc = comp.config.link_libc,
6172 .any_unwind_tables = unwind_tables,
61736171 });
61746172
61756173 const root_mod = try Package.Module.create(arena, .{
......@@ -6186,7 +6184,7 @@ fn buildOutputFromZig(
61866184 .stack_protector = 0,
61876185 .red_zone = comp.root_mod.red_zone,
61886186 .omit_frame_pointer = comp.root_mod.omit_frame_pointer,
6189 .unwind_tables = unwind_tables,
6187 .unwind_tables = comp.root_mod.unwind_tables,
61906188 .pic = comp.root_mod.pic,
61916189 .optimize_mode = optimize_mode,
61926190 .structured_cfg = comp.root_mod.structured_cfg,