[libunwind] r285831 - Add conditions for PPC to libunwind. Fixes PR22200. Thanks to Jeremy for the bug report and the patch.

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 2 09:39:56 PDT 2016


Author: marshall
Date: Wed Nov  2 11:39:55 2016
New Revision: 285831

URL: http://llvm.org/viewvc/llvm-project?rev=285831&view=rev
Log:
Add conditions for PPC to libunwind. Fixes PR22200. Thanks to Jeremy for the bug report and the patch.

Modified:
    libunwind/trunk/src/config.h

Modified: libunwind/trunk/src/config.h
URL: http://llvm.org/viewvc/llvm-project/libunwind/trunk/src/config.h?rev=285831&r1=285830&r2=285831&view=diff
==============================================================================
--- libunwind/trunk/src/config.h (original)
+++ libunwind/trunk/src/config.h Wed Nov  2 11:39:55 2016
@@ -62,13 +62,14 @@
 #define _LIBUNWIND_BUILD_SJLJ_APIS 0
 #endif
 
-#if defined(__i386__) || defined(__x86_64__)
+#if defined(__i386__) || defined(__x86_64__) || defined(__ppc__) || defined(__ppc64__)
 #define _LIBUNWIND_SUPPORT_FRAME_APIS 1
 #else
 #define _LIBUNWIND_SUPPORT_FRAME_APIS 0
 #endif
 
 #if defined(__i386__) || defined(__x86_64__) ||                                \
+    defined(__ppc__) || defined(__ppc64__) ||                                  \
     (!defined(__APPLE__) && defined(__arm__)) ||                               \
     (defined(__arm64__) || defined(__aarch64__)) ||                            \
     (defined(__APPLE__) && defined(__mips__))




More information about the cfe-commits mailing list