Skip to content

Commit fd18252

Browse files
ityonemoandrewrk
authored andcommitted
makes the implementation public
1 parent ddaf915 commit fd18252

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/std/debug.zig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1430,7 +1430,7 @@ pub const ModuleDebugInfo = switch (builtin.os.tag) {
14301430
return di;
14311431
}
14321432

1433-
fn getSymbolAtAddress(self: *@This(), address: usize) !SymbolInfo {
1433+
pub fn getSymbolAtAddress(self: *@This(), address: usize) !SymbolInfo {
14341434
nosuspend {
14351435
// Translate the VA into an address into this object
14361436
const relocated_address = address - self.base_address;
@@ -1499,7 +1499,7 @@ pub const ModuleDebugInfo = switch (builtin.os.tag) {
14991499
return self.coff.allocator;
15001500
}
15011501

1502-
fn getSymbolAtAddress(self: *@This(), address: usize) !SymbolInfo {
1502+
pub fn getSymbolAtAddress(self: *@This(), address: usize) !SymbolInfo {
15031503
// Translate the VA into an address into this object
15041504
const relocated_address = address - self.base_address;
15051505

@@ -1652,7 +1652,7 @@ pub const ModuleDebugInfo = switch (builtin.os.tag) {
16521652
dwarf: DW.DwarfInfo,
16531653
mapped_memory: []const u8,
16541654

1655-
fn getSymbolAtAddress(self: *@This(), address: usize) !SymbolInfo {
1655+
pub fn getSymbolAtAddress(self: *@This(), address: usize) !SymbolInfo {
16561656
// Translate the VA into an address into this object
16571657
const relocated_address = address - self.base_address;
16581658

0 commit comments

Comments
 (0)