[libcxxabi] r257614 - [WebAssembly] Accomodate wasm's 128-bit long double.
Dan Gohman via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 13 08:39:30 PST 2016
Author: djg
Date: Wed Jan 13 10:39:30 2016
New Revision: 257614
URL: http://llvm.org/viewvc/llvm-project?rev=257614&view=rev
Log:
[WebAssembly] Accomodate wasm's 128-bit long double.
Modified:
libcxxabi/trunk/src/cxa_demangle.cpp
Modified: libcxxabi/trunk/src/cxa_demangle.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/cxa_demangle.cpp?rev=257614&r1=257613&r2=257614&view=diff
==============================================================================
--- libcxxabi/trunk/src/cxa_demangle.cpp (original)
+++ libcxxabi/trunk/src/cxa_demangle.cpp Wed Jan 13 10:39:30 2016
@@ -165,7 +165,8 @@ constexpr const char* float_data<double>
template <>
struct float_data<long double>
{
-#if defined(__mips__) && defined(__mips_n64) || defined(__aarch64__)
+#if defined(__mips__) && defined(__mips_n64) || defined(__aarch64__) || \
+ defined(__wasm__)
static const size_t mangled_size = 32;
#elif defined(__arm__) || defined(__mips__)
static const size_t mangled_size = 16;
More information about the cfe-commits
mailing list