| ... | @@ -142,7 +142,7 @@ fn loadDebugInfo(module: *const WindowsModule, gpa: Allocator, di: *DebugInfo) ! | ... | @@ -142,7 +142,7 @@ fn loadDebugInfo(module: *const WindowsModule, gpa: Allocator, di: *DebugInfo) ! |
| 142 | try di.dwarf.?.open(gpa, native_endian); | 142 | try di.dwarf.?.open(gpa, native_endian); |
| 143 | } | 143 | } |
| 144 | | 144 | |
| 145 | if (try coff_obj.getPdbPath()) |raw_path| pdb: { | 145 | if (coff_obj.getPdbPath() catch return error.InvalidDebugInfo) |raw_path| pdb: { |
| 146 | const path = blk: { | 146 | const path = blk: { |
| 147 | if (fs.path.isAbsolute(raw_path)) { | 147 | if (fs.path.isAbsolute(raw_path)) { |
| 148 | break :blk raw_path; | 148 | break :blk raw_path; |