Skip to content
Permalink
Browse files

[libcxxabi] Define _LIBCXXABI_GUARD_ABI_ARM on WebAssembly

This matches ItaniumCXXABI.cpp.

Fixes PR42680

Differential Revision: https://reviews.llvm.org/D64961

llvm-svn: 368783
  • Loading branch information
sbc100 committed Aug 14, 2019
1 parent b6946a2 commit cee41ce223c7e5bd1a52a74e37d79bbbc785cf0a
Showing with 2 additions and 1 deletion.
  1. +2 −1 libcxxabi/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

0 comments on commit cee41ce

Please sign in to comment.
You can’t perform that action at this time.