diff options
Diffstat (limited to 'absl/debugging')
-rw-r--r-- | absl/debugging/internal/stacktrace_powerpc-inl.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/absl/debugging/internal/stacktrace_powerpc-inl.inc b/absl/debugging/internal/stacktrace_powerpc-inl.inc index 5b2cdc2a..cf8c0516 100644 --- a/absl/debugging/internal/stacktrace_powerpc-inl.inc +++ b/absl/debugging/internal/stacktrace_powerpc-inl.inc @@ -132,9 +132,10 @@ static void **NextStackFrame(void **old_sp, const void *uc) { reinterpret_cast<const ucontext_t*>(uc); void **const sp_before_signal = #if defined(__PPC64__) - reinterpret_cast<void**>(signal_context->uc_mcontext.gp_regs[PT_R1]); + reinterpret_cast<void **>(signal_context->uc_mcontext.gp_regs[PT_R1]); #else - reinterpret_cast<void**>(signal_context->uc_mcontext.uc_regs->gregs[PT_R1]); + reinterpret_cast<void **>( + signal_context->uc_mcontext.uc_regs->gregs[PT_R1]); #endif // Check that alleged sp before signal is nonnull and is reasonably // aligned. |