diff options
| author | heretic <[email protected]> | 2022-02-10 16:45:46 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:45:46 +0300 |
| commit | 81eddc8c0b55990194e112b02d127b87d54164a9 (patch) | |
| tree | 9142afc54d335ea52910662635b898e79e192e49 /contrib/libs/cxxsupp/libcxxabi/src/fallback_malloc.h | |
| parent | 397cbe258b9e064f49c4ca575279f02f39fef76e (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/cxxsupp/libcxxabi/src/fallback_malloc.h')
| -rw-r--r-- | contrib/libs/cxxsupp/libcxxabi/src/fallback_malloc.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/contrib/libs/cxxsupp/libcxxabi/src/fallback_malloc.h b/contrib/libs/cxxsupp/libcxxabi/src/fallback_malloc.h index 04396040c07..816e691ed23 100644 --- a/contrib/libs/cxxsupp/libcxxabi/src/fallback_malloc.h +++ b/contrib/libs/cxxsupp/libcxxabi/src/fallback_malloc.h @@ -1,28 +1,28 @@ //===----------------------------------------------------------------------===// -// -// 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 _FALLBACK_MALLOC_H -#define _FALLBACK_MALLOC_H - -#include "__cxxabi_config.h" -#include <stddef.h> // for size_t - -namespace __cxxabiv1 { - -// Allocate some memory from _somewhere_ -_LIBCXXABI_HIDDEN void * __aligned_malloc_with_fallback(size_t size); - -// Allocate and zero-initialize memory from _somewhere_ -_LIBCXXABI_HIDDEN void * __calloc_with_fallback(size_t count, size_t size); - -_LIBCXXABI_HIDDEN void __aligned_free_with_fallback(void *ptr); -_LIBCXXABI_HIDDEN void __free_with_fallback(void *ptr); - -} // namespace __cxxabiv1 - -#endif +// +// 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 _FALLBACK_MALLOC_H +#define _FALLBACK_MALLOC_H + +#include "__cxxabi_config.h" +#include <stddef.h> // for size_t + +namespace __cxxabiv1 { + +// Allocate some memory from _somewhere_ +_LIBCXXABI_HIDDEN void * __aligned_malloc_with_fallback(size_t size); + +// Allocate and zero-initialize memory from _somewhere_ +_LIBCXXABI_HIDDEN void * __calloc_with_fallback(size_t count, size_t size); + +_LIBCXXABI_HIDDEN void __aligned_free_with_fallback(void *ptr); +_LIBCXXABI_HIDDEN void __free_with_fallback(void *ptr); + +} // namespace __cxxabiv1 + +#endif |
