]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/Library/DefaultExceptionHandlerLib/AArch64/DefaultExceptionHandler.c
ArmPkg/DefaultExceptionHandlerLib: walk call stack unconditionally
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 16 Mar 2017 13:23:42 +0000 (13:23 +0000)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 22 Mar 2017 15:48:01 +0000 (15:48 +0000)
commit173bf5c847e3ca8b42c11796ce048d8e2e916ff8
tree7f52698f040d7ab1b584b3fbab3c1039b6afb225
parentb8fc72bd7d5e99f67aa55ce0ba5bc51560c40277
ArmPkg/DefaultExceptionHandlerLib: walk call stack unconditionally

Currently, we only attempt to walk the call stack and print a backtrace
if the program counter refers to a location covered by a PE/COFF image.
However, regardless of the value of PC, the frame pointer may still have
a meaningful value, and so we can still produce the remainder of the
backtrace.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPkg/Library/DefaultExceptionHandlerLib/AArch64/DefaultExceptionHandler.c