[llvm-commits] [llvm] r121146 - /llvm/trunk/lib/Support/SearchForAddressOfSpecialSymbol.cpp

Daniel Dunbar daniel at zuster.org
Tue Dec 7 08:29:44 PST 2010


Author: ddunbar
Date: Tue Dec  7 10:29:44 2010
New Revision: 121146

URL: http://llvm.org/viewvc/llvm-project?rev=121146&view=rev
Log:
build: Go back to dropping __eprintf reference when building with Clang, see
comment.

Modified:
    llvm/trunk/lib/Support/SearchForAddressOfSpecialSymbol.cpp

Modified: llvm/trunk/lib/Support/SearchForAddressOfSpecialSymbol.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/SearchForAddressOfSpecialSymbol.cpp?rev=121146&r1=121145&r2=121146&view=diff
==============================================================================
--- llvm/trunk/lib/Support/SearchForAddressOfSpecialSymbol.cpp (original)
+++ llvm/trunk/lib/Support/SearchForAddressOfSpecialSymbol.cpp Tue Dec  7 10:29:44 2010
@@ -44,9 +44,14 @@
     EXPLICIT_SYMBOL(__umoddi3);
 
     // __eprintf is sometimes used for assert() handling on x86.
+    //
+    // FIXME: Currently disabled when using Clang, as we don't always have our
+    // runtime support libraries available.
+#ifndef __clang__
 #ifdef __i386__
     EXPLICIT_SYMBOL(__eprintf);
 #endif
+#endif
   }
 #endif
 





More information about the llvm-commits mailing list