aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug/SelfInfo.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2025-05-12 19:03:04 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2025-05-17 02:08:41 -0400
commit4adb7eca6ab2148026a9d2e00379cedfc2038a0d (patch)
treeb5e6bb6bb2b392d152fda3396acd02c1924e68d5 /lib/std/debug/SelfInfo.zig
parent025611629f95cda21ff93a517406ea8387ad9cfb (diff)
downloadzig-4adb7eca6ab2148026a9d2e00379cedfc2038a0d.tar.gz
zig-4adb7eca6ab2148026a9d2e00379cedfc2038a0d.zip
debug: correctly detect missing entries in `.eh_frame_hdr`
Diffstat (limited to 'lib/std/debug/SelfInfo.zig')
-rw-r--r--lib/std/debug/SelfInfo.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/debug/SelfInfo.zig b/lib/std/debug/SelfInfo.zig
index ea7ecac4ed..70f3075de7 100644
--- a/lib/std/debug/SelfInfo.zig
+++ b/lib/std/debug/SelfInfo.zig
@@ -1633,7 +1633,7 @@ pub fn unwindFrameDwarf(
&cie,
&fde,
) catch |err| switch (err) {
- error.InvalidDebugInfo => {
+ error.MissingDebugInfo => {
// `.eh_frame_hdr` appears to be incomplete, so go ahead and populate `cie_map`
// and `fde_list`, and fall back to the binary search logic below.
try di.scanCieFdeInfo(allocator, base_address);