View | Details | Raw Unified | Return to bug 237586 | Differences between
and this patch

Collapse All | Expand All

(-)files/patch-deps_v8_src_libsampler_sampler.cc (-1 / +5 lines)
Lines 1-6 Link Here
1
--- deps/v8/src/libsampler/sampler.cc.orig	2019-04-23 12:30:43 UTC
1
--- deps/v8/src/libsampler/sampler.cc.orig	2019-04-23 12:30:43 UTC
2
+++ deps/v8/src/libsampler/sampler.cc
2
+++ deps/v8/src/libsampler/sampler.cc
3
@@ -466,9 +466,9 @@ void SignalHandler::FillRegisterState(void* context, R
3
@@ -466,9 +466,13 @@ void SignalHandler::FillRegisterState(void* context, R
4
   state->sp = reinterpret_cast<void*>(mcontext.mc_rsp);
4
   state->sp = reinterpret_cast<void*>(mcontext.mc_rsp);
5
   state->fp = reinterpret_cast<void*>(mcontext.mc_rbp);
5
   state->fp = reinterpret_cast<void*>(mcontext.mc_rbp);
6
 #elif V8_HOST_ARCH_ARM
6
 #elif V8_HOST_ARCH_ARM
Lines 10-15 Link Here
10
+  state->pc = reinterpret_cast<void*>(mcontext.__gregs[_REG_PC]);
10
+  state->pc = reinterpret_cast<void*>(mcontext.__gregs[_REG_PC]);
11
+  state->sp = reinterpret_cast<void*>(mcontext.__gregs[_REG_SP]);
11
+  state->sp = reinterpret_cast<void*>(mcontext.__gregs[_REG_SP]);
12
+  state->fp = reinterpret_cast<void*>(mcontext.__gregs[_REG_FP]);
12
+  state->fp = reinterpret_cast<void*>(mcontext.__gregs[_REG_FP]);
13
+#elif V8_TARGET_ARCH_PPC_BE
14
+  state->pc = reinterpret_cast<void*>(mcontext.mc_srr0);
15
+  state->sp = reinterpret_cast<void*>(mcontext.mc_frame[1]);
16
+  state->fp = reinterpret_cast<void*>(mcontext.mc_frame[31]);
13
 #endif  // V8_HOST_ARCH_*
17
 #endif  // V8_HOST_ARCH_*
14
 #elif V8_OS_NETBSD
18
 #elif V8_OS_NETBSD
15
 #if V8_HOST_ARCH_IA32
19
 #if V8_HOST_ARCH_IA32
(-)files/patch-deps_v8_src_simulator.h (+11 lines)
Line 0 Link Here
1
--- deps/v8/src/simulator.h.orig	2019-04-26 17:47:06 UTC
2
+++ deps/v8/src/simulator.h
3
@@ -124,7 +124,7 @@ class GeneratedCode {
4
 
5
   DISABLE_CFI_ICALL Return Call(Args... args) {
6
     // When running without a simulator we call the entry directly.
7
-#if V8_OS_AIX
8
+#if V8_TARGET_ARCH_PPC_BE
9
     // AIX ABI requires function descriptors (FD).  Artificially create a pseudo
10
     // FD to ensure correct dispatch to generated code.  The 'volatile'
11
     // declaration is required to avoid the compiler from not observing the

Return to bug 237586