mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-07 03:48:42 +03:00
merge from dev-exp; better abandoned reclamation
This commit is contained in:
commit
b50bec463d
25 changed files with 661 additions and 337 deletions
|
@ -21,6 +21,10 @@ set(mi_sources
|
|||
src/random.c
|
||||
src/os.c
|
||||
src/arena.c
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
src/region.c
|
||||
>>>>>>> dev-exp
|
||||
src/segment.c
|
||||
src/page.c
|
||||
src/alloc.c
|
||||
|
@ -106,10 +110,9 @@ endif()
|
|||
|
||||
# Compiler flags
|
||||
if(CMAKE_C_COMPILER_ID MATCHES "AppleClang|Clang|GNU")
|
||||
list(APPEND mi_cflags -Wall -Wextra -Wno-unknown-pragmas)
|
||||
list(APPEND mi_cflags -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden)
|
||||
if(CMAKE_C_COMPILER_ID MATCHES "GNU")
|
||||
list(APPEND mi_cflags -Wno-invalid-memory-model)
|
||||
list(APPEND mi_cflags -fvisibility=hidden)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue