diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2025-12-09 14:03:29 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2025-12-09 14:03:29 +0000 |
| commit | 7f920884cd004f9e2e60b3efda5bd75f287faa9d (patch) | |
| tree | f1fcdd4e1d2a9180ed3ab3a9e669b165e15a8120 /libc/include/llvm-libc-macros/malloc-macros.h | |
| parent | e6df1a75c40c410b33796cc07a1cc91f49fa3a07 (diff) | |
Adjust vendor import of llvm-project main llvmorg-21-init-19288-gface93e724f4: add more items to the libc/ top-level directory.vendor/llvm-project/main
Diffstat (limited to 'libc/include/llvm-libc-macros/malloc-macros.h')
| -rw-r--r-- | libc/include/llvm-libc-macros/malloc-macros.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libc/include/llvm-libc-macros/malloc-macros.h b/libc/include/llvm-libc-macros/malloc-macros.h new file mode 100644 index 000000000000..65eddfc5e86d --- /dev/null +++ b/libc/include/llvm-libc-macros/malloc-macros.h @@ -0,0 +1,17 @@ +//===-- Definition of macros to be used with malloc functions -------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_LIBC_MACROS_MALLOC_MACROS_H +#define LLVM_LIBC_MACROS_MALLOC_MACROS_H + +// Note: these values only make sense when Scudo is used as the memory +// allocator. +#define M_PURGE (-101) +#define M_PURGE_ALL (-104) + +#endif // LLVM_LIBC_MACROS_MALLOC_MACROS_H |
