diff options
author | Igor Kudrin <ikudrin.dev@gmail.com> | 2016-09-29 08:11:57 +0000 |
---|---|---|
committer | Igor Kudrin <ikudrin.dev@gmail.com> | 2016-09-29 08:11:57 +0000 |
commit | 336985fdf6ba0675fa56b439ce69c19aa249336b (patch) | |
tree | 59df35be0dcbfcce2e0048a2cca4340faea7a0cb /src/fallback_malloc.h | |
parent | feb04d70afb8388150f2ba40df8333ca4c4817ec (diff) |
Revert r282692: Use fallback_malloc to allocate __cxa_eh_globals in case of dynamic memory exhaustion.
The test breaks build bots.
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@282703 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'src/fallback_malloc.h')
-rw-r--r-- | src/fallback_malloc.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/fallback_malloc.h b/src/fallback_malloc.h deleted file mode 100644 index 1078442..0000000 --- a/src/fallback_malloc.h +++ /dev/null @@ -1,31 +0,0 @@ -//===------------------------- fallback_malloc.h --------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is dual licensed under the MIT and the University of Illinois Open -// Source Licenses. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#ifndef _FALLBACK_MALLOC_H -#define _FALLBACK_MALLOC_H - -#include <cstddef> // for size_t - -namespace __cxxabiv1 { - -#pragma GCC visibility push(hidden) - -// Allocate some memory from _somewhere_ -void * __malloc_with_fallback(size_t size); - -// Allocate and zero-initialize memory from _somewhere_ -void * __calloc_with_fallback(size_t count, size_t size); - -void __free_with_fallback(void *ptr); - -#pragma GCC visibility pop - -} // namespace __cxxabiv1 - -#endif |