diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-01-23 20:55:20 +0100 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2025-01-23 23:22:38 +0000 |
| commit | 180db2bf23f05a02876d4567cac3b04842c11acb (patch) | |
| tree | c30cddc29ae1f1162f3ec38fcaf89b94ecb4e6dd /src/codegen/c | |
| parent | 41185d297ffcaf61776aa8e7610aea9d00fce3a4 (diff) | |
| download | zig-180db2bf23f05a02876d4567cac3b04842c11acb.tar.gz zig-180db2bf23f05a02876d4567cac3b04842c11acb.zip | |
std.debug: Fall back to .eh_frame/.debug_frame if .eh_frame_hdr is incomplete.
When using the self-hosted backends, especially in incremental mode, the
.eh_frame_hdr section may be incomplete, so we can't treat it as authoritative.
Instead, if we started out intending to use .eh_frame_hdr but find that it's
incomplete, load .eh_frame/.debug_frame on demand and use that info going
forward.
Diffstat (limited to 'src/codegen/c')
0 files changed, 0 insertions, 0 deletions
