commit e6adddf80c5c24ed89e6dc9e5bbaa3b88dd5ed69 (tree) parent 2743fdb7ce3471e77caed7adf0e8657fa66716a0 Author: mlugg <mlugg@mlugg.co.uk> Date: Tue, 9 Sep 2025 08:48:52 +0100 small reasonable change Diffstat:
| M | lib/std/debug/SelfInfo/WindowsModule.zig | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/debug/SelfInfo/WindowsModule.zig b/lib/std/debug/SelfInfo/WindowsModule.zig @@ -142,7 +142,7 @@ fn loadDebugInfo(module: *const WindowsModule, gpa: Allocator, di: *DebugInfo) ! try di.dwarf.?.open(gpa, native_endian); } - if (try coff_obj.getPdbPath()) |raw_path| pdb: { + if (coff_obj.getPdbPath() catch return error.InvalidDebugInfo) |raw_path| pdb: { const path = blk: { if (fs.path.isAbsolute(raw_path)) { break :blk raw_path;