From 26b4c8f71f91d22e081b27814782686edde0c90a Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Fri, 1 Jan 2021 10:11:34 +0000 Subject: Revert r559792 to unbreak INDEX and bulk -a It seems a lot of reverse dependencies were missed With hat: portmgr --- .../files/patch-deps_v8_src_libsampler_sampler.cc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 www/node10/files/patch-deps_v8_src_libsampler_sampler.cc (limited to 'www/node10/files/patch-deps_v8_src_libsampler_sampler.cc') diff --git a/www/node10/files/patch-deps_v8_src_libsampler_sampler.cc b/www/node10/files/patch-deps_v8_src_libsampler_sampler.cc new file mode 100644 index 000000000000..1548b15aae4b --- /dev/null +++ b/www/node10/files/patch-deps_v8_src_libsampler_sampler.cc @@ -0,0 +1,19 @@ +--- deps/v8/src/libsampler/sampler.cc.orig 2019-03-05 15:16:28 UTC ++++ deps/v8/src/libsampler/sampler.cc +@@ -550,9 +550,13 @@ void SignalHandler::FillRegisterState(void* context, R + state->sp = reinterpret_cast(mcontext.mc_rsp); + state->fp = reinterpret_cast(mcontext.mc_rbp); + #elif V8_HOST_ARCH_ARM +- state->pc = reinterpret_cast(mcontext.mc_r15); +- state->sp = reinterpret_cast(mcontext.mc_r13); +- state->fp = reinterpret_cast(mcontext.mc_r11); ++ state->pc = reinterpret_cast(mcontext.__gregs[_REG_PC]); ++ state->sp = reinterpret_cast(mcontext.__gregs[_REG_SP]); ++ state->fp = reinterpret_cast(mcontext.__gregs[_REG_FP]); ++#elif V8_TARGET_ARCH_PPC_BE ++ state->pc = reinterpret_cast(mcontext.mc_srr0); ++ state->sp = reinterpret_cast(mcontext.mc_frame[1]); ++ state->fp = reinterpret_cast(mcontext.mc_frame[31]); + #endif // V8_HOST_ARCH_* + #elif V8_OS_NETBSD + #if V8_HOST_ARCH_IA32 -- cgit v1.2.3