mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 22:35:24 +00:00
small reasonable change
This commit is contained in:
parent
2743fdb7ce
commit
e6adddf80c
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user