[libcxxabi] r245449 - [AArch64] Quick fix for cxa demangler

Renato Golin via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 19 08:24:03 PDT 2015


Author: rengolin
Date: Wed Aug 19 10:24:03 2015
New Revision: 245449

URL: http://llvm.org/viewvc/llvm-project?rev=245449&view=rev
Log:
[AArch64] Quick fix for cxa demangler

This makes all libcxxabi tests pass on AArch64. Further changes and
new tests to come.

Patch by Keith Walker.

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=245449&r1=245448&r2=245449&view=diff
==============================================================================
--- libcxxabi/trunk/src/cxa_demangle.cpp (original)
+++ libcxxabi/trunk/src/cxa_demangle.cpp Wed Aug 19 10:24:03 2015
@@ -156,7 +156,7 @@ constexpr const char* float_data<double>
 template <>
 struct float_data<long double>
 {
-#if defined(__mips__) && defined(__mips_n64)
+#if defined(__mips__) && defined(__mips_n64) || defined(__aarch64__)
     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