Lines Matching refs:lib_path
301 llvm::sys::Path lib_path;
307 lib_path = *search_path_iter;
308 lib_path.appendComponent("lib" + lib);
309 lib_path.appendSuffix(llvm::sys::Path::GetDLLSuffix());
311 if (lib_path.isEmpty()) {
312 if (!lib_path.isDynamicLibrary()) {
313 lib_path = llvm::sys::Path();
319 if (lib_path.isEmpty()) {
323 lib_path = llvm::sys::Path::FindLibrary(lib_tmp);
325 if (lib_path.isEmpty()) {
331 new (std::nothrow) DyldSymbolResolver(lib_path.str().c_str());
336 llvm::errs() << "Out of memory when load `" << lib_path.str() << "'!\n";