mirror of
https://github.com/espressif/esp-idf
synced 2025-03-20 22:49:08 -04: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.