aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2019-01-14 13:49:22 +0100
committerSandrine Bailleux <sandrine.bailleux@arm.com>2019-01-14 13:51:17 +0100
commit452f360545f0b4d19720c2dfbaf80cf48c1aa3de (patch)
treee0a61d5a614b9f7193a0b53357f346e7ec8f04c3 /lib
parent80ddcc3286b61f40015b30296a47baf47c3e8fd0 (diff)
downloadtf-a-tests-452f360545f0b4d19720c2dfbaf80cf48c1aa3de.tar.gz
Add CFI debug info to vector entries
This is based on TF-A commit 31823b6961d35a5d53e81d3bf4977ad7b2be81dd. Add Call Frame Information assembler directives to vector entries so that debuggers display the backtrace of functions that triggered a synchronous exception. For example, a function triggering a data abort will be easier to debug if the backtrace can be displayed from a breakpoint at the beginning of the synchronous exception vector. DS-5 needs CFI otherwise it will not attempt to display the backtrace. Other debuggers might have other needs. These debug information are stored in the ELF file but not in the final binary. Change-Id: I1129419f318465049f53b5e41c304ea61fa44483 Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/aarch64/exception_stubs.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/aarch64/exception_stubs.S b/lib/aarch64/exception_stubs.S
index ba319277..d418451a 100644
--- a/lib/aarch64/exception_stubs.S
+++ b/lib/aarch64/exception_stubs.S
@@ -15,6 +15,7 @@
.macro vector_entry_spin name
vector_entry \name
b \name
+ end_vector_entry \name
.endm
vector_base exception_stubs