OVMS3-idf/components/heap/include
Ivan Grokhotkov b4aba189ab heap: recognize 0x40000000 as an address terminating the backtrace
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.
2020-01-02 18:42:46 +01:00
..
esp_heap_caps.h Merge branch 'feature/heap_caps_get_size_free' into 'master' 2019-10-23 14:02:50 +08:00
esp_heap_caps_init.h tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
esp_heap_task_info.h heap: Add task tracking option for heap usage monitoring 2018-02-20 10:32:06 +11:00
esp_heap_trace.h heap: Separate standalone and common part of tracing module 2019-04-01 15:56:15 +03:00
heap_trace.inc heap: recognize 0x40000000 as an address terminating the backtrace 2020-01-02 18:42:46 +01:00
multi_heap.h heap: Fix spurious heap_caps_check_integrity() errors in Comprehensive mode 2017-10-18 15:57:52 +08:00