forked from OSchip/llvm-project
[libcxxabi] Define _LIBCXXABI_GUARD_ABI_ARM on WebAssembly
This matches ItaniumCXXABI.cpp. Fixes PR42680 Differential Revision: https://reviews.llvm.org/D64961 llvm-svn: 368783
This commit is contained in:
parent
b6946a2d12
commit
cee41ce223
|
@ -71,7 +71,8 @@
|
||||||
#define _LIBCXXABI_NO_CFI
|
#define _LIBCXXABI_NO_CFI
|
||||||
#endif
|
#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
|
# define _LIBCXXABI_GUARD_ABI_ARM
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue