aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorIsaac Yonemoto <isaac.yonemoto@gmail.com>2020-12-03 13:40:49 -0800
committerAndrew Kelley <andrew@ziglang.org>2020-12-03 15:14:59 -0800
commitfd18252a7165f04c07289c422eb0b808cc245b05 (patch)
tree7a671b6705119f8eacbac79f4a0b65eeb814cac3 /lib
parentddaf91538959763880c0bb047441240f45409f5f (diff)
downloadzig-fd18252a7165f04c07289c422eb0b808cc245b05.tar.gz
zig-fd18252a7165f04c07289c422eb0b808cc245b05.zip
makes the implementation public
Diffstat (limited to 'lib')
-rw-r--r--lib/std/debug.zig6
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;