]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8900/1: UNWINDER_FRAME_POINTER implementation for Clang
authorNathan Huckleberry <nhuck15@gmail.com>
Thu, 22 Aug 2019 20:26:53 +0000 (21:26 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 29 Aug 2019 06:58:01 +0000 (07:58 +0100)
commit399ce0ce986b48d647e2ca9c940e73881ed60bbb
treeaef0050d64248b77af6b90a9601146739227180b
parent93664254a672ef6e66187625cd8139f582a08f31
ARM: 8900/1: UNWINDER_FRAME_POINTER implementation for Clang

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: Tri Vo <trong@google.com>
Signed-off-by: Nathan Huckleberry <nhuck@google.com>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/Kconfig.debug
arch/arm/Makefile
arch/arm/lib/Makefile
arch/arm/lib/backtrace-clang.S [new file with mode: 0644]