diff options
| author | Isaac Yonemoto <isaac.yonemoto@gmail.com> | 2020-12-03 13:40:49 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-12-03 15:14:59 -0800 |
| commit | fd18252a7165f04c07289c422eb0b808cc245b05 (patch) | |
| tree | 7a671b6705119f8eacbac79f4a0b65eeb814cac3 /lib/std/debug.zig | |
| parent | ddaf91538959763880c0bb047441240f45409f5f (diff) | |
| download | zig-fd18252a7165f04c07289c422eb0b808cc245b05.tar.gz zig-fd18252a7165f04c07289c422eb0b808cc245b05.zip | |
makes the implementation public
Diffstat (limited to 'lib/std/debug.zig')
| -rw-r--r-- | lib/std/debug.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/std/debug.zig b/lib/std/debug.zig index 9e453ba660..4f0f44d1b7 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; |
