aboutsummaryrefslogtreecommitdiffstats
path: root/include/__libunwind_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/__libunwind_config.h')
-rw-r--r--include/__libunwind_config.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/__libunwind_config.h b/include/__libunwind_config.h
new file mode 100644
index 000000000000..63393d3058e8
--- /dev/null
+++ b/include/__libunwind_config.h
@@ -0,0 +1,20 @@
+//===------------------------- __libunwind_config.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 ____LIBUNWIND_CONFIG_H__
+#define ____LIBUNWIND_CONFIG_H__
+
+#if defined(__arm__) && !defined(__USING_SJLJ_EXCEPTIONS__) && \
+ !defined(__ARM_DWARF_EH__)
+#define _LIBUNWIND_ARM_EHABI 1
+#else
+#define _LIBUNWIND_ARM_EHABI 0
+#endif
+
+#endif // ____LIBUNWIND_CONFIG_H__