arch: riscv: use symtab to print function name in stack trace
Selecting `CONFIG_EXCEPTION_STACK_TRACE_SYMTAB` will enable the symtab generation which will be used in the stack trace to print the function name of the return address. Updated the `stack_unwind` test to test the symbols in a stack trace. Signed-off-by: Yong Cong Sin <ycsin@meta.com>
This commit is contained in:
parent
e1ce0aefff
commit
c1a925de98
4 changed files with 57 additions and 4 deletions
|
@ -73,10 +73,15 @@ Architectures
|
|||
|
||||
* RISC-V
|
||||
|
||||
* Implemented frame-pointer based stack unwinding.
|
||||
|
||||
* The fatal error message triggered from a fault now contains the callee-saved-registers states.
|
||||
|
||||
* Implemented stack unwinding
|
||||
|
||||
* Frame-pointer can be selected to enable precise stack traces at the expense of slightly
|
||||
increased size and decreased speed.
|
||||
|
||||
* Symbol names can be enabled by selecting :kconfig:option:`CONFIG_EXCEPTION_STACK_TRACE_SYMTAB`
|
||||
|
||||
* Xtensa
|
||||
|
||||
Kernel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue