diff --git a/www/node/files/patch-deps_v8_src_libsampler_sampler.cc b/www/node/files/patch-deps_v8_src_libsampler_sampler.cc index 0e0a4c4e9fda..4a1f24a4a3c4 100644 --- a/www/node/files/patch-deps_v8_src_libsampler_sampler.cc +++ b/www/node/files/patch-deps_v8_src_libsampler_sampler.cc @@ -1,13 +1,13 @@ --- deps/v8/src/libsampler/sampler.cc.orig 2021-10-19 00:48:30 UTC +++ deps/v8/src/libsampler/sampler.cc @@ -497,6 +497,10 @@ void SignalHandler::FillRegisterState(void* context, R 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 ++#elif V8_TARGET_ARCH_PPC64 + 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 diff --git a/www/node10/files/patch-deps_v8_src_libsampler_sampler.cc b/www/node10/files/patch-deps_v8_src_libsampler_sampler.cc index 1548b15aae4b..d7f6c2dfb1a1 100644 --- a/www/node10/files/patch-deps_v8_src_libsampler_sampler.cc +++ b/www/node10/files/patch-deps_v8_src_libsampler_sampler.cc @@ -1,19 +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 ++#elif V8_TARGET_ARCH_PPC64 + 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 diff --git a/www/node14/files/patch-deps_v8_src_libsampler_sampler.cc b/www/node14/files/patch-deps_v8_src_libsampler_sampler.cc index e33a9c979345..1bc04e60a01d 100644 --- a/www/node14/files/patch-deps_v8_src_libsampler_sampler.cc +++ b/www/node14/files/patch-deps_v8_src_libsampler_sampler.cc @@ -1,13 +1,13 @@ --- deps/v8/src/libsampler/sampler.cc.orig 2021-05-11 18:47:47 UTC +++ deps/v8/src/libsampler/sampler.cc @@ -489,6 +489,10 @@ void SignalHandler::FillRegisterState(void* context, R 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 ++#elif V8_TARGET_ARCH_PPC64 + 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 diff --git a/www/node16/files/patch-deps_v8_src_libsampler_sampler.cc b/www/node16/files/patch-deps_v8_src_libsampler_sampler.cc index 13dee5483046..df5237313d28 100644 --- a/www/node16/files/patch-deps_v8_src_libsampler_sampler.cc +++ b/www/node16/files/patch-deps_v8_src_libsampler_sampler.cc @@ -1,13 +1,13 @@ --- deps/v8/src/libsampler/sampler.cc.orig 2021-10-08 13:38:46 UTC +++ deps/v8/src/libsampler/sampler.cc @@ -490,6 +490,10 @@ void SignalHandler::FillRegisterState(void* context, R 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 ++#elif V8_TARGET_ARCH_PPC64 + 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