mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-08 04:18:42 +03:00
merge dev-trace
This commit is contained in:
commit
e3de22a067
3 changed files with 7 additions and 12 deletions
|
@ -125,14 +125,9 @@ if(MI_DEBUG_FULL)
|
|||
endif()
|
||||
|
||||
if(MI_DEBUG_TRACE)
|
||||
if (APPLE)
|
||||
message(WARNING "Cannot enable MI_DEBUG_TRACE on Apple")
|
||||
set(MI_DEBUG_TRACE OFF)
|
||||
else()
|
||||
message(STATUS "Enable allocation trace in each heap block (MI_DEBUG_TRACE=ON)")
|
||||
list(APPEND mi_defines MI_DEBUG_TRACE=1)
|
||||
set(CMAKE_ENABLE_EXPORTS TRUE)
|
||||
endif()
|
||||
message(STATUS "Enable allocation trace in each heap block (MI_DEBUG_TRACE=ON)")
|
||||
list(APPEND mi_defines MI_DEBUG_TRACE=1)
|
||||
set(CMAKE_ENABLE_EXPORTS TRUE)
|
||||
endif()
|
||||
|
||||
if(MI_PADDING_EXTRA)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue