Replace the sqlite allocator, and use our own tracking for stats. Want to use this to collect callstacks for all allocations.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4185 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-02-18 19:14:06 +00:00
parent 1f67343d75
commit 53cb80ebf7
4 changed files with 67 additions and 1 deletions

View File

@ -685,6 +685,7 @@ int main(int argc, char* argv[])
#endif
tf_mem_replace_uv_allocator();
tf_mem_replace_tls_allocator();
tf_mem_replace_sqlite_allocator();
uv_setup_args(argc, argv);
tf_taskstub_startup();