mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
6d28b22687
jemalloc provides support for two different libunwind flavors: the original HP libunwind and the one coming with gcc / g++ / libstdc++.
The latter is identified by `JEMALLOC_PROF_LIBGCC` and provides `_Unwind_Backtrace` method instead of `unw_backtrace`.
At the time ClickHouse uses LLVM libunwind which follows libgcc's way of backtracing.
ClickHouse has to provide `unw_backtrace` method by the means of [commit 8e2b31e](
|
||
---|---|---|
.. | ||
include/jemalloc | ||
include_darwin_aarch64/jemalloc/internal | ||
include_darwin_x86_64/jemalloc/internal | ||
include_freebsd_aarch64/jemalloc/internal | ||
include_freebsd_x86_64/jemalloc/internal | ||
include_linux_aarch64/jemalloc/internal | ||
include_linux_ppc64le/jemalloc/internal | ||
include_linux_riscv64/jemalloc/internal | ||
include_linux_x86_64/jemalloc/internal | ||
include_linux_x86_64_musl/jemalloc/internal | ||
CMakeLists.txt | ||
README |
It allows to integrate JEMalloc into CMake project. - Remove JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF because it's non standard. - Added JEMALLOC_CONFIG_MALLOC_CONF substitution - Add musl support (USE_MUSL) - Also note, that darwin build requires JEMALLOC_PREFIX, while others don not