summaryrefslogtreecommitdiff
path: root/src/cxa_unexpected.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cxa_unexpected.cpp')
-rw-r--r--src/cxa_unexpected.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/cxa_unexpected.cpp b/src/cxa_unexpected.cpp
new file mode 100644
index 0000000..f6e6b6a
--- /dev/null
+++ b/src/cxa_unexpected.cpp
@@ -0,0 +1,27 @@
+//===------------------------- cxa_unexpected.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 <exception>
+#include <cxxabi.h>
+#include "cxa_exception.hpp"
+
+namespace __cxxabiv1
+{
+
+#pragma GCC visibility push(default)
+
+extern "C"
+{
+
+}
+
+#pragma GCC visibility pop
+
+} // namespace __cxxabiv1
+