[PATCH] D11483: [libcxxabi][mips] Correct float_data::mangled_size for all ABI's.

Daniel Sanders daniel.sanders at imgtec.com
Thu Jul 30 09:11:42 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL243645: [libcxxabi][mips] Correct float_data::mangled_size for all ABI's. (authored by dsanders).

Changed prior to commit:
  http://reviews.llvm.org/D11483?vs=30568&id=31035#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D11483

Files:
  libcxxabi/trunk/src/cxa_demangle.cpp

Index: libcxxabi/trunk/src/cxa_demangle.cpp
===================================================================
--- libcxxabi/trunk/src/cxa_demangle.cpp
+++ libcxxabi/trunk/src/cxa_demangle.cpp
@@ -156,7 +156,9 @@
 template <>
 struct float_data<long double>
 {
-#if defined(__arm__)
+#if defined(__mips__) && defined(__mips_n64)
+    static const size_t mangled_size = 32;
+#elif defined(__arm__) || defined(__mips__)
     static const size_t mangled_size = 16;
 #else
     static const size_t mangled_size = 20;  // May need to be adjusted to 16 or 24 on other platforms


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11483.31035.patch
Type: text/x-patch
Size: 573 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150730/048e5f8f/attachment.bin>


More information about the cfe-commits mailing list