authorgravatar for isaac.yonemoto@gmail.comIsaac Yonemoto <isaac.yonemoto@gmail.com> 2020-12-03 13:40:49-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-12-03 15:14:59-08:00
logfd18252a7165f04c07289c422eb0b808cc245b05
tree7a671b6705119f8eacbac79f4a0b65eeb814cac3
parentddaf91538959763880c0bb047441240f45409f5f

makes the implementation public


1 files changed, 3 insertions(+), 3 deletions(-)

lib/std/debug.zig+3-3
...@@ -1430,7 +1430,7 @@ pub const ModuleDebugInfo = switch (builtin.os.tag) {...@@ -1430,7 +1430,7 @@ pub const ModuleDebugInfo = switch (builtin.os.tag) {
1430 return di;1430 return di;
1431 }1431 }
14321432
1433 fn getSymbolAtAddress(self: *@This(), address: usize) !SymbolInfo {1433 pub fn getSymbolAtAddress(self: *@This(), address: usize) !SymbolInfo {
1434 nosuspend {1434 nosuspend {
1435 // Translate the VA into an address into this object1435 // Translate the VA into an address into this object
1436 const relocated_address = address - self.base_address;1436 const relocated_address = address - self.base_address;
...@@ -1499,7 +1499,7 @@ pub const ModuleDebugInfo = switch (builtin.os.tag) {...@@ -1499,7 +1499,7 @@ pub const ModuleDebugInfo = switch (builtin.os.tag) {
1499 return self.coff.allocator;1499 return self.coff.allocator;
1500 }1500 }
15011501
1502 fn getSymbolAtAddress(self: *@This(), address: usize) !SymbolInfo {1502 pub fn getSymbolAtAddress(self: *@This(), address: usize) !SymbolInfo {
1503 // Translate the VA into an address into this object1503 // Translate the VA into an address into this object
1504 const relocated_address = address - self.base_address;1504 const relocated_address = address - self.base_address;
15051505
...@@ -1652,7 +1652,7 @@ pub const ModuleDebugInfo = switch (builtin.os.tag) {...@@ -1652,7 +1652,7 @@ pub const ModuleDebugInfo = switch (builtin.os.tag) {
1652 dwarf: DW.DwarfInfo,1652 dwarf: DW.DwarfInfo,
1653 mapped_memory: []const u8,1653 mapped_memory: []const u8,
16541654
1655 fn getSymbolAtAddress(self: *@This(), address: usize) !SymbolInfo {1655 pub fn getSymbolAtAddress(self: *@This(), address: usize) !SymbolInfo {
1656 // Translate the VA into an address into this object1656 // Translate the VA into an address into this object
1657 const relocated_address = address - self.base_address;1657 const relocated_address = address - self.base_address;
16581658