summaryrefslogtreecommitdiffstats
path: root/libcxxabi/src/Unwind/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcxxabi/src/Unwind/config.h')
-rw-r--r--libcxxabi/src/Unwind/config.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libcxxabi/src/Unwind/config.h b/libcxxabi/src/Unwind/config.h
index 6a708971f26..2a7da6a836b 100644
--- a/libcxxabi/src/Unwind/config.h
+++ b/libcxxabi/src/Unwind/config.h
@@ -83,8 +83,9 @@
#define _LIBUNWIND_ABORT(msg) assert_rtn(__func__, __FILE__, __LINE__, msg)
#define _LIBUNWIND_SUPPORT_COMPACT_UNWIND 0
- #define _LIBUNWIND_SUPPORT_DWARF_UNWIND 0
- #define _LIBUNWIND_SUPPORT_DWARF_INDEX 0
+ #define _LIBUNWIND_SUPPORT_DWARF_UNWIND !defined(__arm__) || \
+ defined(__ARM_DWARF_EH__)
+ #define _LIBUNWIND_SUPPORT_DWARF_INDEX _LIBUNWIND_SUPPORT_DWARF_UNWIND
#endif
OpenPOWER on IntegriCloud