mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-07 13:39:55 +00:00
test(emscripten): stub the located NotImplemented entry point
NotImplemented_nid_no_patch now expands to NotImplementedAt_nid_no_patch, so Module.cpp in emscripten_module_unwind_tests references the located entry point, which that test target does not link from libc. Stub it next to the existing one.
This commit is contained in:
1 parent
b5f5c7fd1f
commit
573333c2ba
1 file changed
+4
@@ -19,6 +19,10 @@ extern "C" [[noreturn]] void NotImplemented_nid_no_patch(const char* function) {
|
||||
throw UnsupportedPath{function};
|
||||
}
|
||||
|
||||
extern "C" [[noreturn]] void NotImplementedAt_nid_no_patch(const char* function, const char*, int) {
|
||||
throw UnsupportedPath{function};
|
||||
}
|
||||
|
||||
int main() {
|
||||
for (const auto query : {&sceKernelGetModuleInfoForUnwind, &sceSysmoduleGetModuleInfoForUnwind}) {
|
||||
for (const auto address : {std::uint64_t{0}, std::uint64_t{0x10000}, std::numeric_limits<std::uint64_t>::max()}) {
|
||||
|
||||
Reference in new issue
Block a user