summaryrefslogtreecommitdiff
path: root/lib/Support/SearchForAddressOfSpecialSymbol.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-12-07 16:29:44 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-12-07 16:29:44 +0000
commitdc3b90617312c4bb62e56095ebcf1fb6a8153090 (patch)
tree5797de7c3ef26c86e2561baaf8c012d0c03a72e2 /lib/Support/SearchForAddressOfSpecialSymbol.cpp
parent6aa49435994c33257b7588cac24671785d17fa6e (diff)
downloadllvm-dc3b90617312c4bb62e56095ebcf1fb6a8153090.tar.gz
llvm-dc3b90617312c4bb62e56095ebcf1fb6a8153090.tar.bz2
llvm-dc3b90617312c4bb62e56095ebcf1fb6a8153090.tar.xz
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
Diffstat (limited to 'lib/Support/SearchForAddressOfSpecialSymbol.cpp')
-rw-r--r--lib/Support/SearchForAddressOfSpecialSymbol.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Support/SearchForAddressOfSpecialSymbol.cpp b/lib/Support/SearchForAddressOfSpecialSymbol.cpp
index 51ba417c21..d63830185c 100644
--- a/lib/Support/SearchForAddressOfSpecialSymbol.cpp
+++ b/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