Don't relax org or align. They change size as the relaxation happens, but they
[oota-llvm.git] / lib / Support / SearchForAddressOfSpecialSymbol.cpp
index 51ba417c21445abd219e31e5483e3f236b61917a..d63830185c32fa493c15368d4b94c277286ab3a3 100644 (file)
@@ -44,8 +44,13 @@ static void *DoSearch(const char* symbolName) {
     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