b4aba189ab
On Xtensa, backtrace can not recover the two most significant bits of the address, as the window call size is encoded in these bits. Because of this, __builtin_return_address modifies these MSBs to match those of the callee, "fixing" the address. An unfortunate side effect is that the zero return address, which usually terminates the backtrace, gets converted to 0x40000000. While there is a valid instruction at this address, its occurrence in the backtrace is highly unlikely: this is the first instruction of WindowOverflow4 vector, and IDF apps switch VECBASE to an IRAM location very early at startup. |
||
---|---|---|
.. | ||
esp_heap_caps.h | ||
esp_heap_caps_init.h | ||
esp_heap_task_info.h | ||
esp_heap_trace.h | ||
heap_trace.inc | ||
multi_heap.h |