summaryrefslogtreecommitdiff
path: root/src/fallback_malloc.cpp
diff options
context:
space:
mode:
authorMarshall Clow <mclow@qualcomm.com>2011-07-20 18:41:23 +0000
committerMarshall Clow <mclow@qualcomm.com>2011-07-20 18:41:23 +0000
commit086e9d0b7479409f65f21bc491c2f8706f7a39a5 (patch)
tree83d3adcffcbce2e283e208e8841bf625e9f17462 /src/fallback_malloc.cpp
parent81b7ea7df48333715c0c57d5418c5383e3f5c950 (diff)
Added copyright header
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@135601 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'src/fallback_malloc.cpp')
-rw-r--r--src/fallback_malloc.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/fallback_malloc.cpp b/src/fallback_malloc.cpp
index 45d52fe..667a62b 100644
--- a/src/fallback_malloc.cpp
+++ b/src/fallback_malloc.cpp
@@ -1,3 +1,17 @@
+//===------------------------ fallback_malloc.cpp -------------------------===//
+//
+// 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.
+//
+//
+// This file implements the a small heap for allocation of exception
+// in the situation where malloc fails.
+// http://www.codesourcery.com/public/cxx-abi/abi-eh.html (section 2.4.2)
+//
+//===----------------------------------------------------------------------===//
+
// A small, simple heap manager based (loosely) on the startup heap
// based on the startup heap manager from FreeBSD.
//