Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Alter glibc override to work with RTL_DEEPBIND
When using dlopen with RTL_DEEPBIND the LD_PRELOAD used by the majority of allocators does not work as both libc and snmallocs allocators can be called by various dso. This patch uses GLIBC's __malloc_hook to override the allocator as well as LD_PRELOAD. This means that all libraries will call snmalloc when performing allocation.
- Loading branch information