25 #if FOLLY_HAVE_WEAK_SYMBOLS 39 extern void* (*mallocx)(size_t, int);
40 extern void* (*rallocx)(
void*, size_t, int);
41 extern size_t (*
xallocx)(
void*, size_t, size_t, int);
42 extern size_t (*
sallocx)(
const void*, int);
43 extern void (*
dallocx)(
void*, int);
44 extern void (*
sdallocx)(
void*, size_t, int);
45 extern size_t (*
nallocx)(size_t, int);
46 extern int (*
mallctl)(
const char*,
void*,
size_t*,
void*, size_t);
49 *
mallctlbymib)(
const size_t*, size_t,
void*,
size_t*,
void*, size_t);
53 #pragma comment(linker, "/alternatename:mallocx=mallocxWeak") 54 #pragma comment(linker, "/alternatename:rallocx=rallocxWeak") 55 #pragma comment(linker, "/alternatename:xallocx=xallocxWeak") 56 #pragma comment(linker, "/alternatename:sallocx=sallocxWeak") 57 #pragma comment(linker, "/alternatename:dallocx=dallocxWeak") 58 #pragma comment(linker, "/alternatename:sdallocx=sdallocxWeak") 59 #pragma comment(linker, "/alternatename:nallocx=nallocxWeak") 60 #pragma comment(linker, "/alternatename:mallctl=mallctlWeak") 61 #pragma comment(linker, "/alternatename:mallctlnametomib=mallctlnametomibWeak") 62 #pragma comment(linker, "/alternatename:mallctlbymib=mallctlbymibWeak") int(* mallctlnametomib)(const char *, size_t *, size_t *)
void *(* rallocx)(void *, size_t, int)
size_t(* nallocx)(size_t, int)
int(* mallctl)(const char *, void *, size_t *, void *, size_t)
void(* dallocx)(void *, int)
size_t(* sallocx)(const void *, int)
size_t(* xallocx)(void *, size_t, size_t, int)
void *(* mallocx)(size_t, int)
void(* sdallocx)(void *, size_t, int)
__attribute__((noinline, noclone)) VirtualBase *makeVirtual()
int(* mallctlbymib)(const size_t *, size_t, void *, size_t *, void *, size_t)