Searched hist:"237 dacb9d2ec763ef8311d19a60166a8e2390917" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/lib/libunw/ |
| H A D | unwind_arm64.c | 237dacb9d2ec763ef8311d19a60166a8e2390917 Wed Jul 28 09:02:57 UTC 2021 Jerome Forissier <jerome@forissier.org> arm64: format call stack addresses on 8 characters by default
print_stack_arm64() currently shows the full 64 bit addresses in hexadecimal with leading zeros (0x0000000000000000). This is a bit hard to read and is not necessary since virtual addresses are typically 32 or 36 bits (defined by CFG_LPAE_ADDR_SPACE_BITS), and in any case nowhere near 64 bits. Therefore, use a 32-bit format by default (0x00000000) and expand the width as necessary. The new format is already used in ldelf to print the region addresses so this changes brings consistency.
Signed-off-by: Jerome Forissier <jerome@forissier.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
|