diff options
Diffstat (limited to 'devel/electron35/files/patch-v8_src_libsampler_sampler.cc')
| -rw-r--r-- | devel/electron35/files/patch-v8_src_libsampler_sampler.cc | 19 | 
1 files changed, 0 insertions, 19 deletions
diff --git a/devel/electron35/files/patch-v8_src_libsampler_sampler.cc b/devel/electron35/files/patch-v8_src_libsampler_sampler.cc deleted file mode 100644 index 97cd4de0485a..000000000000 --- a/devel/electron35/files/patch-v8_src_libsampler_sampler.cc +++ /dev/null @@ -1,19 +0,0 @@ ---- v8/src/libsampler/sampler.cc.orig	2025-01-27 17:37:37 UTC -+++ v8/src/libsampler/sampler.cc -@@ -519,6 +519,16 @@ void SignalHandler::FillRegisterState(void* context, R -   state->pc = reinterpret_cast<void*>(mcontext.__gregs[_REG_PC]); -   state->sp = reinterpret_cast<void*>(mcontext.__gregs[_REG_SP]); -   state->fp = reinterpret_cast<void*>(mcontext.__gregs[_REG_FP]); -+#elif V8_HOST_ARCH_ARM64 -+#ifdef __CHERI_PURE_CAPABILITY__ -+  state->pc = reinterpret_cast<void*>(mcontext.mc_capregs.cap_elr); -+  state->sp = reinterpret_cast<void*>(mcontext.mc_capregs.cap_sp); -+  state->fp = reinterpret_cast<void*>(mcontext.mc_capregs.cap_x[29]); -+#else   // !__CHERI_PURE_CAPABILITY__ -+  state->pc = reinterpret_cast<void*>(mcontext.mc_gpregs.gp_elr); -+  state->sp = reinterpret_cast<void*>(mcontext.mc_gpregs.gp_sp); -+  state->fp = reinterpret_cast<void*>(mcontext.mc_gpregs.gp_x[29]); -+#endif  // __CHERI_PURE_CAPABILITY__ - #endif  // V8_HOST_ARCH_* - #elif V8_OS_NETBSD - #if V8_HOST_ARCH_IA32  | 
