Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e6b1fb0e authored by Nathan Huckleberry's avatar Nathan Huckleberry Committed by Nick Desaulniers
Browse files

BACKPORT: ARM: 8900/1: UNWINDER_FRAME_POINTER implementation for Clang

commit 6dc5fd93b2f1ef75d5e50fced8cb193811f25f22 upstream.

The stackframe setup when compiled with clang is different.
Since the stack unwinder expects the gcc stackframe setup it
fails to print backtraces. This patch adds support for the
clang stackframe setup.

Link: https://github.com/ClangBuiltLinux/linux/issues/35



Cc: clang-built-linux@googlegroups.com
Suggested-by: default avatarTri Vo <trong@google.com>
Signed-off-by: default avatarNathan Huckleberry <nhuck@google.com>
Tested-by: default avatarNick Desaulniers <ndesaulniers@google.com>
Reviewed-by: default avatarNick Desaulniers <ndesaulniers@google.com>
Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
[nd: configs were renamed in f9b58e8c7d03,
     CONFIG_CC_IS_{GCC|CLANG} did not exist until a4353898980c/469cb7376c06]
Signed-off-by: default avatarNick Desaulniers <ndesaulniers@google.com>
Bug: 145525910
Change-Id: I9f595cff06a48498027e7dc1b958c35fc5da46e2
parent 13855a65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment