diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-12-07 16:29:44 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-12-07 16:29:44 +0000 |
commit | 82ebae7631ddb99d84eaf5e157365d4c164de799 (patch) | |
tree | df52688f8a54e915ca80b967e7be95e2a2eb0d43 /llvm/lib/Support/SearchForAddressOfSpecialSymbol.cpp | |
parent | 87368acb2fde3a88b6f702575d2495febb80d18c (diff) | |
download | bcm5719-llvm-82ebae7631ddb99d84eaf5e157365d4c164de799.tar.gz bcm5719-llvm-82ebae7631ddb99d84eaf5e157365d4c164de799.zip |
build: Go back to dropping __eprintf reference when building with Clang, see
comment.
llvm-svn: 121146
Diffstat (limited to 'llvm/lib/Support/SearchForAddressOfSpecialSymbol.cpp')
-rw-r--r-- | llvm/lib/Support/SearchForAddressOfSpecialSymbol.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Support/SearchForAddressOfSpecialSymbol.cpp b/llvm/lib/Support/SearchForAddressOfSpecialSymbol.cpp index 51ba417c214..d63830185c3 100644 --- a/llvm/lib/Support/SearchForAddressOfSpecialSymbol.cpp +++ b/llvm/lib/Support/SearchForAddressOfSpecialSymbol.cpp @@ -44,9 +44,14 @@ 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 |