[libcxx-commits] [PATCH] D64961: [libcxxabi] Define _LIBCXXABI_GUARD_ABI_ARM on WebAssembly

Sam Clegg via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jul 18 16:30:38 PDT 2019


sbc100 created this revision.
Herald added subscribers: libcxx-commits, christof, sunfish, aheejin, kristof.beyls, jgravelle-google, dschuff.
Herald added a reviewer: EricWF.
Herald added a project: libc++.

This matches ItaniumCXXABI.cpp.  Perhaps this should be renamed
to _LIBCXXABI_GUARD_ABI_32BIT.

Fixes PR42680


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D64961

Files:
  libcxxabi/include/__cxxabi_config.h


Index: libcxxabi/include/__cxxabi_config.h
===================================================================
--- libcxxabi/include/__cxxabi_config.h
+++ libcxxabi/include/__cxxabi_config.h
@@ -71,7 +71,7 @@
 #define _LIBCXXABI_NO_CFI
 #endif
 
-#if defined(__arm__)
+#if defined(__arm__) || defined(__wasm32__)
 #  define _LIBCXXABI_GUARD_ABI_ARM
 #endif
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64961.210702.patch
Type: text/x-patch
Size: 359 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190718/51ef2e96/attachment.bin>


More information about the libcxx-commits mailing list