[PATCH v2 1/3] tlsf: dump stack on assertion failure

Sascha Hauer sha at pengutronix.de
Thu Jan 13 23:53:01 PST 2022


On Thu, Jan 13, 2022 at 05:04:12PM +0100, Ahmad Fatoum wrote:
> We only support AddressSanitizer on ARM, ARM64 and sandbox. For other
> platforms TLSF assertions may detect some nconsistency, like some double
> frees. Make the reports more useful by dumping stack in that case.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
> v1 -> v2: no change
> ---
>  include/tlsf.h | 3 +++
>  1 file changed, 3 insertions(+)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list