[PATCH] There is no exp10 on Android

Synergy Dev synergye at codefi.re
Mon Dec 23 17:53:08 PST 2013


synergydev added you to the CC list for the revision "There is no exp10 on Android".

Hi chandlerc,

http://llvm-reviews.chandlerc.com/D2454

Files:
  lib/Target/TargetLibraryInfo.cpp

Index: lib/Target/TargetLibraryInfo.cpp
===================================================================
--- lib/Target/TargetLibraryInfo.cpp
+++ lib/Target/TargetLibraryInfo.cpp
@@ -421,6 +421,12 @@
     }
   }
 
+  if (T.getOS() == Triple::Android) {
+    TLI.setUnavailable(LibFunc::exp10l);
+    TLI.setUnavailable(LibFunc::exp10);
+    TLI.setUnavailable(LibFunc::exp10f);
+  }
+
   if (T.getOS() == Triple::IOS) {
     TLI.setUnavailable(LibFunc::exp10l);
     if (T.isOSVersionLT(7, 0)) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2454.1.patch
Type: text/x-patch
Size: 499 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131223/c790ad1c/attachment.bin>


More information about the llvm-commits mailing list