Skip to content

Commit 31ebae5

Browse files
std.debug: add module lookup function prototype for uefi
1 parent c51587b commit 31ebae5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/std/debug/SelfInfo.zig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ pub fn getModuleForAddress(self: *SelfInfo, address: usize) !*Module {
127127
return self.lookupModuleWin32(address);
128128
} else if (native_os == .haiku) {
129129
return self.lookupModuleHaiku(address);
130+
} else if (native_os == .uefi) {
131+
return self.lookupModuleUefi(address);
130132
} else if (builtin.target.isWasm()) {
131133
return self.lookupModuleWasm(address);
132134
} else {
@@ -494,6 +496,12 @@ fn lookupModuleHaiku(self: *SelfInfo, address: usize) !*Module {
494496
@panic("TODO implement lookup module for Haiku");
495497
}
496498

499+
fn lookupModuleUefi(self: *SelfInfo, address: usize) !*Module {
500+
_ = self;
501+
_ = address;
502+
@panic("TODO implement lookup module for UEFI");
503+
}
504+
497505
fn lookupModuleWasm(self: *SelfInfo, address: usize) !*Module {
498506
_ = self;
499507
_ = address;

0 commit comments

Comments
 (0)