[PATCH] Add .eh_frame_hdr search to Linux unwinder.

Derek Schuff dschuff at google.com
Thu Jan 22 13:04:29 PST 2015


REPOSITORY
  rL LLVM

================
Comment at: src/Unwind/config.h:79
@@ -78,3 +78,3 @@
   #define _LIBUNWIND_SUPPORT_COMPACT_UNWIND 0
-  #define _LIBUNWIND_SUPPORT_DWARF_UNWIND   0
-  #define _LIBUNWIND_SUPPORT_DWARF_INDEX    0
+  #define _LIBUNWIND_SUPPORT_DWARF_UNWIND !__arm__
+  #define _LIBUNWIND_SUPPORT_DWARF_INDEX !__arm__
----------------
jroelofs wrote:
> I think one of @joerg's platforms uses dwarf unwind on arm. I don't remember the name of the guard he created to detect that though.
elsewhere in libcxxabi there are ifdefs for __ARM_DWARF_EH__

http://reviews.llvm.org/D6848

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list