From 11bc3fb1906e10ed38fb913559a6c36d4c027e22 Mon Sep 17 00:00:00 2001 From: Michael Dusan Date: Wed, 13 Mar 2024 02:17:28 -0400 Subject: [PATCH] macho: log.debug dylib path --- src/link/MachO/Dylib.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/link/MachO/Dylib.zig b/src/link/MachO/Dylib.zig index aa853cdbc6..9da3456c6c 100644 --- a/src/link/MachO/Dylib.zig +++ b/src/link/MachO/Dylib.zig @@ -54,7 +54,7 @@ pub fn parse(self: *Dylib, macho_file: *MachO, file: std.fs.File, fat_arch: ?fat const gpa = macho_file.base.comp.gpa; const offset = if (fat_arch) |ar| ar.offset else 0; - log.debug("parsing dylib from binary", .{}); + log.debug("parsing dylib from binary: {s}", .{self.path}); var header_buffer: [@sizeOf(macho.mach_header_64)]u8 = undefined; { @@ -266,7 +266,7 @@ pub fn parseTbd( const gpa = macho_file.base.comp.gpa; - log.debug("parsing dylib from stub", .{}); + log.debug("parsing dylib from stub: {s}", .{self.path}); const umbrella_lib = lib_stub.inner[0];