#endif
using namespace llvm;
-
using namespace lld;
// The functions defined in this file can be called from multiple threads,
Flag = StringRef(Msg.str()).contains('\n');
}
-namespace lld {
-
-ErrorHandler &errorHandler() {
+ErrorHandler &lld::errorHandler() {
static ErrorHandler Handler;
return Handler;
}
-void exitLld(int Val) {
+void lld::exitLld(int Val) {
waitForBackgroundThreads();
// Dealloc/destroy ManagedStatic variables before calling
// _exit(). In a non-LTO build, this is a nop. In an LTO
error(Msg);
exitLld(1);
}
-
-} // end namespace lld