mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-26 22:34:39 +00:00
System: Don't reexport ___eprintf when building with Clang; this symbol isn't
used on Darwin anymore, and Clang might not always link with the library it is currently found in. llvm-svn: 114165
This commit is contained in:
parent
402ac1bb1c
commit
8a328e38c5
@ -32,7 +32,14 @@ static void *DoSearch(const char* symbolName) {
|
||||
EXPLICIT_SYMBOL(__ashrdi3);
|
||||
EXPLICIT_SYMBOL(__cmpdi2);
|
||||
EXPLICIT_SYMBOL(__divdi3);
|
||||
|
||||
// Clang doesn't always link against libgcc.a, which is the only thing which
|
||||
// defines ___eprintf in the modern world. Just don't attempt to export this
|
||||
// symbol when building with Clang.
|
||||
#ifndef __clang__
|
||||
EXPLICIT_SYMBOL(__eprintf);
|
||||
#endif
|
||||
|
||||
EXPLICIT_SYMBOL(__fixdfdi);
|
||||
EXPLICIT_SYMBOL(__fixsfdi);
|
||||
EXPLICIT_SYMBOL(__fixunsdfdi);
|
||||
|
Loading…
x
Reference in New Issue
Block a user