From 573333c2babbd546cb0bbd7130a84953adbc53a5 Mon Sep 17 00:00:00 2001 From: Dean Galvin Date: Thu, 5 Nov 2026 00:12:57 +1300 Subject: [PATCH] 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. --- core/libs/tests/EmscriptenModuleUnwind.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/libs/tests/EmscriptenModuleUnwind.cpp b/core/libs/tests/EmscriptenModuleUnwind.cpp index 9e3710221e..c3840ea317 100644 --- a/core/libs/tests/EmscriptenModuleUnwind.cpp +++ b/core/libs/tests/EmscriptenModuleUnwind.cpp @@ -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::max()}) {