[PATCH] D42555: [libunwind] Don't enable _LIBUNWIND_BUILD_ZERO_COST_APIS if building the SJLJ APIs

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 25 22:51:54 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL323499: Don't enable _LIBUNWIND_BUILD_ZERO_COST_APIS if building the SJLJ APIs (authored by mstorsjo, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D42555?vs=131500&id=131541#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D42555

Files:
  libunwind/trunk/src/config.h


Index: libunwind/trunk/src/config.h
===================================================================
--- libunwind/trunk/src/config.h
+++ libunwind/trunk/src/config.h
@@ -72,8 +72,10 @@
     (!defined(__APPLE__) && defined(__arm__)) ||                               \
     (defined(__arm64__) || defined(__aarch64__)) ||                            \
     defined(__mips__)
+#if !defined(_LIBUNWIND_BUILD_SJLJ_APIS)
 #define _LIBUNWIND_BUILD_ZERO_COST_APIS
 #endif
+#endif
 
 #if defined(__powerpc64__) && defined(_ARCH_PWR8)
 #define PPC64_HAS_VMX


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42555.131541.patch
Type: text/x-patch
Size: 551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180126/21b55b34/attachment.bin>


More information about the cfe-commits mailing list