summaryrefslogtreecommitdiff
path: root/firmware/SOURCES
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2023-01-02 22:48:07 +0000
committerAidan MacDonald <amachronic@protonmail.com>2023-01-15 10:04:13 +0000
commit92565e9246f3a47b90fea4a436ecfd8e7a1198b8 (patch)
tree5e2fa26fff921296729b74bd8947dd225e69c84f /firmware/SOURCES
parentf2f198663edc01a1f19e35b8a0c302f8ee47ae5e (diff)
downloadrockbox-92565e9246f3a47b90fea4a436ecfd8e7a1198b8.tar.gz
rockbox-92565e9246f3a47b90fea4a436ecfd8e7a1198b8.zip
buflib: Add malloc-backed buflib
This is intended for improving the effectiveness of tools like ASAN when debugging memory errors in the sim. It's not meant to be a serious allocator for hosted targets. Enable it by changing the buflib backend in config.h. Change-Id: I0cf23cefa47ee35dede7b49e0e5b72dac60e8d3e
Diffstat (limited to 'firmware/SOURCES')
-rw-r--r--firmware/SOURCES2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES
index 02e962c0c3..7e2ffb323e 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -6,6 +6,8 @@ events.c
6backlight.c 6backlight.c
7#if CONFIG_BUFLIB_BACKEND == BUFLIB_BACKEND_MEMPOOL 7#if CONFIG_BUFLIB_BACKEND == BUFLIB_BACKEND_MEMPOOL
8buflib_mempool.c 8buflib_mempool.c
9#elif CONFIG_BUFLIB_BACKEND == BUFLIB_BACKEND_MALLOC
10buflib_malloc.c
9#endif 11#endif
10core_alloc.c 12core_alloc.c
11general.c 13general.c