@ -150,8 +150,8 @@ static void **NextStackFrame(void **old_sp, const void *uc) {
}
}
// This ensures that absl::GetStackTrace sets up the Link Register properly.
// This ensures that absl::GetStackTrace sets up the Link Register properly.
void StacktracePowerPCDummyFunction() __attribute__((noinline));
void Absl StacktracePowerPCDummyFunction() __attribute__((noinline));
void StacktracePowerPCDummyFunction() { __asm__ volatile(""); }
void Absl StacktracePowerPCDummyFunction() { __asm__ volatile(""); }
template < bool IS_STACK_FRAMES , bool IS_WITH_CONTEXT >
template < bool IS_STACK_FRAMES , bool IS_WITH_CONTEXT >
ABSL_ATTRIBUTE_NO_SANITIZE_ADDRESS // May read random elements from stack.
ABSL_ATTRIBUTE_NO_SANITIZE_ADDRESS // May read random elements from stack.
@ -176,7 +176,7 @@ static int UnwindImpl(void** result, int* sizes, int max_depth, int skip_count,
// want here. While the compiler will always(?) set up LR for
// want here. While the compiler will always(?) set up LR for
// subroutine calls, it may not for leaf functions (such as this one).
// subroutine calls, it may not for leaf functions (such as this one).
// This routine forces the compiler (at least gcc) to push it anyway.
// This routine forces the compiler (at least gcc) to push it anyway.
StacktracePowerPCDummyFunction();
Absl StacktracePowerPCDummyFunction();
// The LR save area is used by the callee, so the top entry is bogus.
// The LR save area is used by the callee, so the top entry is bogus.
skip_count++;
skip_count++;