OVMS3-idf/components/heap
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
..
include heap: recognize 0x40000000 as an address terminating the backtrace 2020-01-02 18:42:46 +01:00
test heap: added test case for realloc to verify if successive realloc in IRAM still ends there. 2019-12-20 13:48:09 -03:00
test_multi_heap_host multi_heap: Fix bug when start of heap is unaligned 2018-12-20 01:40:05 +00:00
CMakeLists.txt esp32s2: Adds apptrace support 2019-11-13 15:24:01 +03:00
component.mk heap: Separate standalone and common part of tracing module 2019-04-01 15:56:15 +03:00
heap_caps.c heap_caps: small fixes on comments plus cleaning 2019-12-20 13:35:56 -03:00
heap_caps_init.c tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
heap_private.h separate rom from esp32 component to esp_rom 2019-03-21 18:51:45 +08:00
heap_task_info.c heap: Add task tracking option for heap usage monitoring 2018-02-20 10:32:06 +11:00
heap_trace_standalone.c heap: Separate standalone and common part of tracing module 2019-04-01 15:56:15 +03:00
Kconfig heap: Separate standalone and common part of tracing module 2019-04-01 15:56:15 +03:00
linker.lf ldgen: update component linker fragment files 2019-04-04 15:57:34 +08:00
multi_heap.c multi_heap: Fix bug when start of heap is unaligned 2018-12-20 01:40:05 +00:00
multi_heap_config.h Try to merge tail with next block when splitting 2018-04-03 12:30:52 +10:00
multi_heap_internal.h heap: Add task tracking option for heap usage monitoring 2018-02-20 10:32:06 +11:00
multi_heap_platform.h build and link hello-world for esp32s2beta 2019-06-11 13:07:37 +08:00
multi_heap_poisoning.c heap_caps: added special case for realloc when previous area is an diram_iram ptr, this will force a malloc/copy/free 2019-12-20 13:35:56 -03:00