We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebb27af commit 41d0fa7Copy full SHA for 41d0fa7
llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp
@@ -250,10 +250,9 @@ static void loadDylibs() {
250
if (sys::fs::is_regular_file(Dylib)) {
251
std::string ErrMsg;
252
if (sys::DynamicLibrary::LoadLibraryPermanently(Dylib.c_str(), &ErrMsg))
253
- llvm::errs() << "Error loading '" << Dylib << "': "
254
- << ErrMsg << "\n";
+ report_fatal_error("Error loading '" + Dylib + "': " + ErrMsg);
255
} else
256
- llvm::errs() << "Dylib not found: '" << Dylib << "'.\n";
+ report_fatal_error("Dylib not found: '" + Dylib + "'.");
257
}
258
259
0 commit comments