From: Daniel Dunbar Date: Tue, 7 Dec 2010 16:29:44 +0000 (+0000) Subject: build: Go back to dropping __eprintf reference when building with Clang, see X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dc3b90617312c4bb62e56095ebcf1fb6a8153090;p=oota-llvm.git build: Go back to dropping __eprintf reference when building with Clang, see comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121146 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/SearchForAddressOfSpecialSymbol.cpp b/lib/Support/SearchForAddressOfSpecialSymbol.cpp index 51ba417c214..d63830185c3 100644 --- a/lib/Support/SearchForAddressOfSpecialSymbol.cpp +++ b/lib/Support/SearchForAddressOfSpecialSymbol.cpp @@ -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