diff --git a/lib/std/debug.zig b/lib/std/debug.zig index 9e453ba660e85520acc63738d95c351d8622e2be..4f0f44d1b7f21b64fcc6ed487ce8428f6207b658 100644 --- a/lib/std/debug.zig +++ b/lib/std/debug.zig @@ -1430,7 +1430,7 @@ pub const ModuleDebugInfo = switch (builtin.os.tag) { return di; } - fn getSymbolAtAddress(self: *@This(), address: usize) !SymbolInfo { + pub fn getSymbolAtAddress(self: *@This(), address: usize) !SymbolInfo { nosuspend { // Translate the VA into an address into this object const relocated_address = address - self.base_address; @@ -1499,7 +1499,7 @@ pub const ModuleDebugInfo = switch (builtin.os.tag) { return self.coff.allocator; } - fn getSymbolAtAddress(self: *@This(), address: usize) !SymbolInfo { + pub fn getSymbolAtAddress(self: *@This(), address: usize) !SymbolInfo { // Translate the VA into an address into this object const relocated_address = address - self.base_address; @@ -1652,7 +1652,7 @@ pub const ModuleDebugInfo = switch (builtin.os.tag) { dwarf: DW.DwarfInfo, mapped_memory: []const u8, - fn getSymbolAtAddress(self: *@This(), address: usize) !SymbolInfo { + pub fn getSymbolAtAddress(self: *@This(), address: usize) !SymbolInfo { // Translate the VA into an address into this object const relocated_address = address - self.base_address;