]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/DefaultExceptionHandlerLib AARCH64: add minimal backtrace to crash dump
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 7 Sep 2016 08:12:29 +0000 (09:12 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 7 Sep 2016 16:22:39 +0000 (17:22 +0100)
commit960d0de80b288c7cd9cbccfde7a12a48935055b4
tree9e319ab954525417d6cb16f119ed14bf8381196a
parent8f0b62a5dac0830698d6cf4b1c25ce2612f93dd8
ArmPkg/DefaultExceptionHandlerLib AARCH64: add minimal backtrace to crash dump

When dumping the CPU state after an unhandled fault, walk the stack
frames and decode the return addresses so we can show a minimal
backtrace. Unfortunately, we do not have sufficient information to
show the function names, but at least we can see the modules and the
return addresses inside the modules.

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