mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00

Add .eh_frame and .eh_frame_hdr sections to the binary (can be enabled/disabled within menuconfig). These sections are parsed when a panic occurs. Their DWARF instructions are decoded and executed at runtime, to retrieve the whole backtrace. This parser has been tested on both RISC-V and x86 architectures. This feature needs esptool's merge adjacent ELF sections feature.