mirror of
https://github.com/microsoft/mimalloc.git
synced 2024-12-28 05:50:51 +08:00
32 lines
991 B
C
32 lines
991 B
C
/* ----------------------------------------------------------------------------
|
|
Copyright (c) 2018, Microsoft Research, Daan Leijen
|
|
This is free software; you can redistribute it and/or modify it under the
|
|
terms of the MIT license. A copy of the license can be found in the file
|
|
"LICENSE" at the root of this distribution.
|
|
-----------------------------------------------------------------------------*/
|
|
#define _DEFAULT_SOURCE
|
|
|
|
#include "mimalloc.h"
|
|
#include "mimalloc-internal.h"
|
|
|
|
// For a static override we create a single object file
|
|
// containing the whole library. If it is linked first
|
|
// it will override all the standard library allocation
|
|
// functions (on Unix's).
|
|
#include "stats.c"
|
|
#include "random.c"
|
|
#include "os.c"
|
|
#include "arena.c"
|
|
#include "region.c"
|
|
#include "segment.c"
|
|
#include "page.c"
|
|
#include "heap.c"
|
|
#include "alloc.c"
|
|
#include "alloc-aligned.c"
|
|
#include "alloc-posix.c"
|
|
#if MI_OSX_ZONE
|
|
#include "alloc-override-osx.c"
|
|
#endif
|
|
#include "init.c"
|
|
#include "options.c"
|