aboutsummaryrefslogtreecommitdiff
path: root/system/lib/libcxxabi/src/temporary.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-12-21 15:54:59 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-12-21 15:54:59 -0800
commit2f4401a79e96917f78876c3e09b8d31754a26f70 (patch)
tree8ac45e1d7b302a9f0aaa7e9b9e74aff01965a93d /system/lib/libcxxabi/src/temporary.cpp
parent2c8c19f60585d4e8cb78af119faba664a35e2268 (diff)
parent160cc728e0839e441897d951fa61020bc2176717 (diff)
Merge branch 'incoming'
Diffstat (limited to 'system/lib/libcxxabi/src/temporary.cpp')
-rw-r--r--system/lib/libcxxabi/src/temporary.cpp41
1 files changed, 0 insertions, 41 deletions
diff --git a/system/lib/libcxxabi/src/temporary.cpp b/system/lib/libcxxabi/src/temporary.cpp
deleted file mode 100644
index 5facf39d..00000000
--- a/system/lib/libcxxabi/src/temporary.cpp
+++ /dev/null
@@ -1,41 +0,0 @@
-//===---------------------------- temporary.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.
-//
-//===----------------------------------------------------------------------===//
-
-#include "abort_message.h"
-
-#pragma GCC visibility push(default)
-
-extern "C"
-{
-
-static
-void f1()
-{
- abort_message("__cxa_new_handler shouldn't be called");
-}
-
-static
-void f2()
-{
- abort_message("__cxa_terminate_handler shouldn't be called");
-}
-
-static
-void f3()
-{
- abort_message("__cxa_unexpected_handler shouldn't be called");
-}
-
-void (*__cxa_new_handler)() = f1;
-void (*__cxa_terminate_handler)() = f2;
-void (*__cxa_unexpected_handler)() = f3;
-
-}
-
-#pragma GCC visibility pop