[libcxx-commits] [PATCH] D119068: [libunwind] Define _Unwind_Backtrace for powerpc, sparc

Fangrui Song via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 7 09:37:19 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG022011078054: [libunwind] Define _Unwind_Backtrace for powerpc, sparc (authored by thesamesam, committed by MaskRay).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119068/new/

https://reviews.llvm.org/D119068

Files:
  libunwind/src/config.h


Index: libunwind/src/config.h
===================================================================
--- libunwind/src/config.h
+++ libunwind/src/config.h
@@ -109,13 +109,10 @@
 #define _LIBUNWIND_SUPPORT_FRAME_APIS
 #endif
 
-#if defined(__i386__) || defined(__x86_64__) ||                                \
-    defined(__ppc__) || defined(__ppc64__) || defined(__powerpc64__) ||        \
-    (!defined(__APPLE__) && defined(__arm__)) ||                               \
-    defined(__aarch64__) ||                                                    \
-    defined(__mips__) ||                                                       \
-    defined(__riscv) ||                                                        \
-    defined(__hexagon__)
+#if defined(__i386__) || defined(__x86_64__) || defined(__powerpc__) ||        \
+    (!defined(__APPLE__) && defined(__arm__)) || defined(__aarch64__) ||       \
+    defined(__mips__) || defined(__riscv) || defined(__hexagon__) ||           \
+    defined(__sparc__)
 #if !defined(_LIBUNWIND_BUILD_SJLJ_APIS)
 #define _LIBUNWIND_BUILD_ZERO_COST_APIS
 #endif


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119068.406506.patch
Type: text/x-patch
Size: 1102 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220207/b1c29897/attachment-0001.bin>


More information about the libcxx-commits mailing list