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

Phabricator via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 13 18:33:10 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL368783: [libcxxabi] Define _LIBCXXABI_GUARD_ABI_ARM on WebAssembly (authored by sbc, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D64961?vs=214878&id=215004#toc

Repository:
  rL LLVM

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

https://reviews.llvm.org/D64961

Files:
  libcxxabi/trunk/include/__cxxabi_config.h


Index: libcxxabi/trunk/include/__cxxabi_config.h
===================================================================
--- libcxxabi/trunk/include/__cxxabi_config.h
+++ libcxxabi/trunk/include/__cxxabi_config.h
@@ -71,7 +71,8 @@
 #define _LIBCXXABI_NO_CFI
 #endif
 
-#if defined(__arm__)
+// wasm32 follows the arm32 ABI convention of using 32-bit guard.
+#if defined(__arm__) || defined(__wasm32__)
 #  define _LIBCXXABI_GUARD_ABI_ARM
 #endif
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64961.215004.patch
Type: text/x-patch
Size: 444 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190814/98e90bb2/attachment-0001.bin>


More information about the libcxx-commits mailing list